Test SMTP authentication with Messaging Gateway using telnet
search cancel

Test SMTP authentication with Messaging Gateway using telnet

book

Article ID: 164907

calendar_today

Updated On:

Products

Messaging Gateway

Issue/Introduction

You need to test whether or not SMTP authentication is working with Symantec Messaging Gateway.

Resolution

To test SMTP authentication via telnet:

  1. In a telnet client such as PuTTY, connect to the SMG appliance:

    telnet <SMG_IP_address>  587
     
  2. Greet the mail server:

    EHLO mailserver.com
     
  3. Tell SMG you want to authenticate with it:

    AUTH LOGIN

    The server should return the following, which is a base64 encoded string that requires your username:

    334 VXNlcm5hbWU6
     
  4. Paste the base64 encoded username. For example:

    dXNlcm5hbWUuY29t

    The server should return the following, which is a base64 encoded string that requires your password:

    334 UGFzc3dvcmQ6
     
  5. Paste the base64 encoded password for the username. For example:

    bXlwYXNzd29yZ$4

Note: If you receive an error from this point forward, double-check the password and encoding.

Additional information

If you need to manually convert the username and password, search online for a base64 encode and decode tool.