ilin
09-16-2003, 04:02 AM
Hello,
I'm running small mail server with qmail and I've configured it as described in its own documentation to not allow relaying mail. But when I test it with www.abuse.net's mail relay test it gives me the results listed below. The last test tells me that my pc is acting as a mail relay when sending message as from some_nonexistent_user@MY_IP_ADDRESS to some_other_nonexistent_user@MY_IP_ADDRESS. Nevertheless the MAILER_DAEMON or POSTMASTER isn't receiving any bounced messages.
I'll be glad if someone can help me to fix this problem.
Mail relay testing
Connecting to MY_IP_ADDRESS for anonymous test ...
<<< 220 MY_DOMAIN_NAME ESMTP
>>> HELO www.abuse.net
<<< 250 MY_DOMAIN_NAME
Relay test 1
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<spamtest@abuse.net>
<<< 250 ok
>>> RCPT TO:<relaytest@abuse.net>
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Relay test 2
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<spamtest>
<<< 250 ok
>>> RCPT TO:<relaytest@abuse.net>
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Relay test 3
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<>
<<< 250 ok
>>> RCPT TO:<relaytest@abuse.net>
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Relay test 4
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<spamtest@[MY_IP_ADDRESS]>
<<< 250 ok
>>> RCPT TO:<relaytest@abuse.net>
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Relay test 5
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<spamtest@MY_ISP_DOMAIN_NAME>
<<< 250 ok
>>> RCPT TO:<relaytest@abuse.net>
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Relay test 6
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<spamtest@[MY_IP_ADDRESS]>
<<< 250 ok
>>> RCPT TO:<relaytest%abuse.net@[MY_IP_ADDRESS]>
<<< 250 ok
Relay test result
Hmmn, at first glance, host appeared to accept a message for relay.
THIS MAY OR MAY NOT MEAN THAT IT'S AN OPEN RELAY.
Some systems appear to accept relay mail, but then reject messages internally rather than delivering them, but you cannot tell at this point whether the message will be relayed or not.
You cannot tell if it is really an open relay without sending a test message; this anonymous user test DID NOT send a test message.
Thanks in advance!
I'm running small mail server with qmail and I've configured it as described in its own documentation to not allow relaying mail. But when I test it with www.abuse.net's mail relay test it gives me the results listed below. The last test tells me that my pc is acting as a mail relay when sending message as from some_nonexistent_user@MY_IP_ADDRESS to some_other_nonexistent_user@MY_IP_ADDRESS. Nevertheless the MAILER_DAEMON or POSTMASTER isn't receiving any bounced messages.
I'll be glad if someone can help me to fix this problem.
Mail relay testing
Connecting to MY_IP_ADDRESS for anonymous test ...
<<< 220 MY_DOMAIN_NAME ESMTP
>>> HELO www.abuse.net
<<< 250 MY_DOMAIN_NAME
Relay test 1
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<spamtest@abuse.net>
<<< 250 ok
>>> RCPT TO:<relaytest@abuse.net>
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Relay test 2
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<spamtest>
<<< 250 ok
>>> RCPT TO:<relaytest@abuse.net>
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Relay test 3
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<>
<<< 250 ok
>>> RCPT TO:<relaytest@abuse.net>
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Relay test 4
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<spamtest@[MY_IP_ADDRESS]>
<<< 250 ok
>>> RCPT TO:<relaytest@abuse.net>
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Relay test 5
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<spamtest@MY_ISP_DOMAIN_NAME>
<<< 250 ok
>>> RCPT TO:<relaytest@abuse.net>
<<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Relay test 6
>>> RSET
<<< 250 flushed
>>> MAIL FROM:<spamtest@[MY_IP_ADDRESS]>
<<< 250 ok
>>> RCPT TO:<relaytest%abuse.net@[MY_IP_ADDRESS]>
<<< 250 ok
Relay test result
Hmmn, at first glance, host appeared to accept a message for relay.
THIS MAY OR MAY NOT MEAN THAT IT'S AN OPEN RELAY.
Some systems appear to accept relay mail, but then reject messages internally rather than delivering them, but you cannot tell at this point whether the message will be relayed or not.
You cannot tell if it is really an open relay without sending a test message; this anonymous user test DID NOT send a test message.
Thanks in advance!