Cisco Email Security Appliance

How Do I Verify that the ESA is Accepting Email?

Document ID: 117998

Updated: Sep 21, 2015

Contributed by Nasir Shakour and Enrico Werner, Cisco TAC Engineers.



How do I verify that the Email Security Appliance (ESA) is accepting email?

Here is an example of how to use Simple Mail Transfer Protocol (SMTP) commands to connect with the ESA to verify that the appliance is accepting email. The telnet test will also work from your desktop computer.

  • Connect to your ESA using SMTP (port 25). You can specify either the hostname or the IP address of the appliance.

>telnet 25

Connected to
Escape character is '^]'.
220 ready at Wed, 30 Jun 2004 12:08:02 -0700

  • Specify the hostname FROM which you are connecting.


250 Hello []

  • Specify the email address FROM which you are sending mail.

>mail from:

250 2.1.0 OK

  • Specify the email address TO which you are sending mail.

>rcpt to: 250 2.1.5

  • Indicate that you are ready to send the body of the message.


354 Start mail input; end with .

  • Enter some text as the body of the message. Numbering your test messages makes it much easier to troubleshoot.

test 01
text of message

250 2.6.0 <> Queued mail for delivery

  • Terminate the SMTP session.


Tip: You can also use SMTP commands to check for relay settings and basic delivery services. On the CLI run diagnostics > network > smtpping

Updated: Sep 21, 2015
Document ID: 117998