Guest

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.

   Print

Question:

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 nameofserverl.example.com 25

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

  • Specify the hostname FROM which you are connecting.

>helo gin.example.com

250 nameofserver.example.com Hello [10.1.3.223]

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

>mail from: user@example.com

250 2.1.0 user@example.com....Sender OK

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

>rcpt to: user@example.com 250 2.1.5 user@example.com

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

>data

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 <@nameofserver.example.com> Queued mail for delivery

  • Terminate the SMTP session.

>quit

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