Hi all,
I want to check if my qmail installation is relaying mails for
other hosts.
I do a simple check like
telnet localhost 25
MAIL FROM:someone@nonlocal.com
RCPT TO:someother@nonlocal.com
{output is relaying allowed this is ok since it is a local
telnet and I have 127.0.0.1:allow,RELAYCLIENT="" in
/etc/tcp.smtp}
Next I do a
telnet 10.10.12.21 25 (my private IP)
MAIL FROM:someone@nonlocal.com
RCPT TO:someother@nonlocal.com
{output is 553 sorry, that domain isn't in my list of allowed
rcpthosts (#5.7.1)}
So can I conclude that the external mails are not being relayed?
But now the problem starts.
qmailctl stat gives :
/service/qmail-pop3d: up (pid 22067) 9174 seconds
/service/qmail-pop3d/log: up (pid 22066) 9174 seconds
/service/qmail-send: up (pid 22062) 9174 seconds
/service/qmail-send/log: up (pid 22063) 9174 seconds
/service/qmail-smtpd: up (pid 22064) 9174 seconds
/service/qmail-smtpd/log: up (pid 22065) 9174 seconds
messages in queue: 32
messages in queue but not yet preprocessed: 0
And the messages are for external hosts,
20 Dec 2002 03:09:33 GMT #58808 4955 <>
remote bounce.1194.39868523(a)bounce.bnb4.com
19 Dec 2002 17:21:14 GMT #58786 3714 <>
remote adp501(a)friendly984send.com
20 Dec 2002 03:13:21 GMT #58809 5443 <>
remote pro(a)speedsoffrslistings873009118273.com
19 Dec 2002 11:04:45 GMT #58787 23375 <>
remote gbw135(a)isp3845mailer45.com
20 Dec 2002 04:11:52 GMT #58810 3563 <>
remote adp124(a)friend284mail.com
So my server is probably relaying mails, most seem to be
bouncing mails.
My /var/log/qmail/current is having entries like
@400000003e02aa63234a85e4 delivery 98: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
@400000003e02aa63234aa13c status: local 0/10 remote 0/20
Thanks in advance.
Bye.