Everytime I telnet to my SMTP port (wether using the loopback IP or the
public IP), I get the "connection closed by foreign host" error message.
when I check my maillog, the following is displayed:
Nov 25 10:46:13 localhost smtpd: 975120373.062916 tcpserver: status: 1/20
Nov 25 10:46:13 localhost smtpd: 975120373.063413 tcpserver: pid 17710 from
CLIENT's_IP
Nov 25 10:46:13 localhost smtpd: 975120373.096366 tcpserver: ok 17710
:SERVER's_IP:25 :CLIENT's_IP::1672
Nov 25 10:46:13 localhost smtpd: 975120373.388277 tcpserver: end 17710
status 256
Nov 25 10:46:13 localhost smtpd: 975120373.388740 tcpserver: status: 0/20
if you will notice, the server accepts the connection and drops it right
away.
I've also been receiving a lot of bounce mails. It says that "there's no
mailbox by that name". I am sure that I created those mailboxes so I
assumed it gives out that error because my SMTP port drops connection.
Bounce mails originate from test mail I send to mailboxes in my server using
the "echo to: mailbox_name | /qmail/path/qmail-inject" command.
ps -auxww |grep qmail yields:
qmaild 17283 0.0 0.3 1136 468 ? S 10:56 0:00 tcpserver -u 102
-g 234 -c 20 -v -x /etc/tcpcontrol/smtp.cdb 0 smtp /usr/bin/rblsmtpd -t 60
-r rbl.maps.vix.com qmail-pipe fixcr -- qmail-smtpd
qmaill 484 0.0 0.1 1096 192 ? S Nov 12 0:00 splogger qmail
qmailq 487 0.0 0.0 1080 92 ? S Nov 12 0:00 qmail-clean
qmailr 486 0.0 0.0 1088 0 ? SW Nov 12 0:00 (qmail-rspawn)
qmails 481 0.0 0.1 1124 148 ? S Nov 12 0:00 qmail-send
root 458 0.0 0.0 1096 60 ? S Nov 12 0:00 tcpserver 0 110
/var/qmail/bin/qmail-popup my.server.com /bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir
root 479 0.0 0.0 1076 64 ? S Nov 12 0:00 supervise
/var/lock/svc/qmail qmail-start |dot-forward .forward\012|preline procmail
splogger qmail
root 485 0.0 0.0 1092 80 ? S Nov 12 0:00 qmail-lspawn
|dot-forward .forward\012|preline procmail
root 17281 0.0 0.2 1076 336 ? S 10:56 0:00 supervise
/var/lock/svc/smtpd tcpserver -u 102 -g 234 -c 20 -v -x
/etc/tcpcontrol/smtp.cdb 0 smtp /usr/bin/rblsmtpd -t 60 -r rbl.maps.vix.com
qmail-pipe fixcr -- qmail-smtpd | splog
root 17750 0.0 0.3 1240 492 ? S 02:54 0:00 grep qmail
any thoughts will be highly appreciated