Home arrow Testing arrow Testing SMTP with Authentication
Testing SMTP with Authentication PDF
Thursday, 03 April 2008

In order to test your SMTP Mail Server do the following steps (asuming that your server ip is 10.0.0.1 and your desktop station IP is 10.0.0.5):

telnet 10.0.0.1 25

HELO 10.0.0.5

AUTH LOGIN

# Now you must enter your username and password encoded into base64 format. To do that you can use the following perl inline command:

perl -MMIME::Base64 -e 'print encode_base64(" This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ")'

MAIL FROM:< This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >

RCPT TO: < This e-mail address is being protected from spam bots, you need JavaScript enabled to view it >

DATA

SUBJECT: test smtp

test
test
.

#The server will send you "250 message queued".
quit


 

Last Updated ( Friday, 18 December 2015 )
 
Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?