Testing SMTP AUTH PLAIN Over TLS

To prepare to test a TLS connection to an SMTP server we first need to Base64 encode the Login credentials:

The result of this is:

I tried using the base64 linux command but did not get the same result or a result that would work:

Create the SMTP session with openssl rather than telnet:

When prompted with ‘250 HELP’ enter:

The server will respond:

Next enter your base64 encoded login credentials:

The server should respond with:

OR:

If the wrong credntials were supplied.

TLS SMTP connection

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">