Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
mail:test-smtp-auth-telnet [2011-07-01 19:06:18]
garrett.plasky Approved
mail:test-smtp-auth-telnet [2011-07-01 19:06:50]
garrett.plasky Approved
Line 5: Line 5:
  
 <sxh shell>perl -MMIME::Base64 -e 'print encode_base64("username");' <sxh shell>perl -MMIME::Base64 -e 'print encode_base64("username");'
-perl -MMIME::Base64 -e 'print encode_base64("password");'</sxh>+perl -MMIME::Base64 -e 'print encode_base64("password");'</sxh>
  
 What will be returned from each command is a base64 encoding of the username and password; save these as you will need them later. Now connect to the mail server using Telnet: What will be returned from each command is a base64 encoding of the username and password; save these as you will need them later. Now connect to the mail server using Telnet:
Line 33: Line 33:
 Below is a log of a real successful SMTP AUTH connection over Telnet: Below is a log of a real successful SMTP AUTH connection over Telnet:
  
-<sxh shell>user@localhost [~]# telnet exampledomain.com 25+<sxh plain>user@localhost [~]# telnet exampledomain.com 25
 Trying 1.1.1.1... Trying 1.1.1.1...
 Connected to exampledomain.com (1.1.1.1). Connected to exampledomain.com (1.1.1.1).