[Wolves] Sendmail

Ron Wellsted wolves at mailman.lug.org.uk
Wed Jun 18 21:52:06 2003


On Wednesday 18 Jun 2003 9:17 pm, Wayne Morris wrote:
> Yeh, hah! I seem to have finally got to grips with Sendmail and got it
> running on my Lan.
>
> How can I test it (for correct function, and not being an open relay
> etc) before I get my MX records altered to reflect my ip.
>
> Its at (should be at! ) 82.47.81.119 or mail.machx.co.uk on port 25 if
> anyone could try it for me.
>
> Thanks
>
> Wayne

telnet is your friend.  Try "telnet 82.47.81.119 25" then when it answers, do 
"helo spammer" then
"mail from: spammer@spam.com"
"rcpt to: victim@victim.org"

after the last line you should get relaying denied (and you do!)  This is a 
basic test for an open relay (and you have now learnt how to talk basic SMTP)

For a full test try submitting to one of the open relay blacklists, however if 
it fails you will be blacklisted until you get it fixed (you too can join BT 
in being distinguished in this way).

-- 
Ron Wellsted
http://www.wellsted.org.uk
ron@wellsted.org.uk
N 52.567623, W 2.137621