000011825 - Telnet - SMTP Commands (sending mail using telnet to the Interceptor)

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000011825
Applies ToRSA DLP Interceptor
IssueSending mail using telnet from command prompt to the Interceptor
Testing email connectivity to the interceptor and to other MTA using command line telnet tool. Find below the procedure for sending emails through the interceptor using command line.

From DOS prompt type
telnet <interceptor_hostname> 25

You should then see something similar to the following (important portion is to confirm a 220 reply).

"220 mail.domain.ext ESMTP RSA Interceptor

You will then need to declare where you are sending the email from:
HELO local.domain.name (or EHLO domain name)- don't worry too much about your local domain name although you really should use your exact fully qualified domain name as seen by the outside world the mail server has no choice but to take your word for it as of RFC822-RFC1123.

This should give you:
250 mail.domain.ext Hello local.domain.name [local.i.p], pleased to meet you

Now give your email address (without using backspace)
MAIL FROM: mail@domain.ext
Should yield:
250 2.1.0 mail@domain.ext... Sender ok

Now give the recipients address (without using backspace)
RCPT TO: mail@otherdomain.ext
Should yield:
250 2.1.5 mail@otherdomain.ext... Recipient ok

To start composing the message issue the command DATA. Example:
Should yield:
354 Enter mail, end with "." on a line by itself

Test message. Can insert sensitive data for testing

Should yield:
250 2.0.0 q66Isvg3016621 Message accepted for delivery
Legacy Article IDa40656