Introducción
Este documento describe cómo probar la conectividad de correo y red a través de un dispositivo de seguridad de correo electrónico (ESA) con smtpping.
¿Cómo puedo probar la conectividad de correo y red a través de un ESA mediante smtpping?
En su ESA de Cisco, para resolver correctamente los problemas de red e identificar los errores de transmisión, es posible que desee ver la validación de los mensajes de error que se ven dentro de los registros de correo cuando se envían a un MTA determinado.
Para utilizar herramientas de diagnóstico como smtpping, debe conectarse a la CLI de su ESA.
A continuación, puede ejecutar diagnostic > network > smtpping.
Siga las instrucciones para probar la conectividad o enviar un mensaje de prueba.
esa.example.com> diagnostic
Choose the operation you want to perform:
- RAID - Disk Verify Utility.
- DISK_USAGE - Check Disk Usage.
- NETWORK - Network Utilities.
- REPORTING - Reporting Utilities.
- TRACKING - Tracking Utilities.
- RELOAD - Reset configuration to the initial manufacturer values.
[]> network
Choose the operation you want to perform:
- FLUSH - Flush all network related caches.
- ARPSHOW - Show system ARP cache.
- SMTPPING - Test a remote SMTP server.
- TCPDUMP - Dump ethernet packets.
[]> smtpping
Enter the hostname or IP address of the SMTP server:
[esa.example.com]> destination.example.com
The domain you entered has MX records.
Would you like to select an MX host to test instead? [Y]> y
Select an MX host to test.
1. a.example.com
2. b.example.com
3. c.example.com
4. d.example.com
[1]> 1
Select a network interface to use for the test.
1. Management
2. Inbound
3. Outbound
4. auto
[4]> 3
Do you want to type in a test message to send? If not, the connection will be tested
but no email will be sent. [N]> y
Enter the From e-mail address:
[from@example.com]> your_address@example.org
Enter the To e-mail address:
[to@example.com]> test_user@example.com
Enter the Subject:
[Test Message]> Test email
Enter the Body of the message one line at a time. End with a "." on a line by itself.
You should be able to receive this email if there are no border gateway devices
blocking email to Yahoo.
.
Starting SMTP test of host a.mailhost.com.
Resolved 'a.mailhost.com' to 10.1.2.3.
Connection to 10.1.2.3 succeeded.
Command EHLO succeeded
Command MAIL FROM succeeded.
Command RCPT TO succeeded.
Command DATA succeeded.
Message body accepted.
Test complete. Total time elapsed 0.87 seconds
Información Relacionada