SMTP test from telnet

Need to test out access to a mail server?

From GNU/linux is easiest, fire up the terminal

You will need your username and password as base64, to get these use perl

perl -MMIME::Base64 -e 'print encode_base64("username");'
perl -MMIME::Base64 -e 'print encode_base64("password");'

Save this output to use later

telnet mail.yourserver.com 25
EHLO mail.yourserver.com
AUTH LOGIN
[paste in your base64 username]
[paste in your base64 password]

Now you know if your server is working with those access details or not...

Thanks NDCHost
http://www.ndchost.com/wiki/mail/test-smtp-auth-telnet