relay test

Ben Eisenbraun bene at klatsch.org
Sun Mar 11 13:39:04 EDT 2007


On Sun, Mar 11, 2007 at 09:38:59AM -0400, Kristian Hermansen wrote:
> On 3/11/07, Stephen Adler <adler at stephenadler.com> wrote:
> >How do I test to make sure I haven't by accident turned on mail relay to be
> >abused by spammers?
> 
> You could just netcat to it an try to relay manually, but i figure you
> want a nice web interface to test it for you:

I've always been fond of the telnet check provided by mail-abuse.org:

 $ telnet relay-test.mail-abuse.org
Trying 168.61.4.13...
Connected to relay-test.mail-abuse.org.
Escape character is '^]'.
Connecting to 209.6.82.6 ...
<<< 220 mail.or8.net ESMTP Postfix
>>> HELO cygnus.mail-abuse.org
<<< 250 collab.or8.net
:Relay test: #Quote test
>>> mail from: <spamtest at collab.or8.net>
<<< 250 Ok
>>> rcpt to: <"nobody at mail-abuse.org">
<<< 554 <nobody at mail-abuse.org>: Relay access denied

<snip many more checks>

-b

--
nobody realizes that some people expend tremendous energy merely to 
be normal.                                           <albert camus>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list