Inleiding
In dit document wordt beschreven hoe problemen met de levering van de e-mailbeveiligingsapparatuur (ESA) kunnen worden opgelost.
Voorwaarden
Vereisten
Cisco raadt kennis van de volgende onderwerpen aan:
- Volg een uitgaand bericht via de maillogboeken of Berichtentracering
- Toegang tot de CLI van de ESA
Gebruikte componenten
De informatie in dit document is gebaseerd op AsyncOS voor e-mailbeveiliging.
De informatie in dit document is gebaseerd op de apparaten in een specifieke laboratoriumomgeving. Alle apparaten die in dit document worden beschreven, hadden een opgeschoonde (standaard)configuratie. Als uw netwerk live is, moet u zorgen dat u de potentiële impact van elke opdracht begrijpt.
Achtergrondinformatie
De ESA kan e-mail ontvangen, maar berichten lijken niet op de plaats van bestemming aan te komen. Hoe bepaal ik waarom de ESA geen mail verstuurt naar een specifiek domein of domeinen? Er zijn verschillende redenen waarom een ESA geen berichten kan verzenden. Dit artikel richt zich op het debuggen van problemen met een extern domein.
Stappen voor probleemoplossing
tophosts, opdracht
Gebruik de tophosts opdracht om onmiddellijk informatie te krijgen over de e-mailwachtrij en om te bepalen of een bepaalde host bezorgproblemen heeft, zoals een wachtrijopbouw. Met de tophosts opdracht wordt een lijst geretourneerd van de top 20 ontvangers in de wachtrij. De lijst kan worden gesorteerd op een aantal verschillende statistieken, waaronder actieve ontvangers, verbindingen, geleverde ontvangers, soft bounce-evenementen en hard bounce-ontvangers.
Voer de tophosts opdracht uit en sorteer op actieve ontvangers om te zien welke hosts de grootste leveringswachtrij hebben.
mail.example.com > tophosts
Sort results by:
1. Active Recipients
2. Connections Out
3. Delivered Recipients
4. Hard Bounced Recipients
5. Soft Bounced Events
[1]>
hoststatus, opdracht
Voer de hoststatus opdracht uit om de gebruikte MX-records en de status te controleren. Als Host omhoog/omlaag: onbekend of omlaag is, probeert u een bericht naar die host te sturen met behulp van het SMTP-hulpprogramma zoals hieronder wordt weergegeven en kijkt u of de status verandert. De status van de host geeft de status van de laatste poging tot levering weer.
mail.example.com> hoststatus cisco.com
Host mail status for: 'cisco.com'
Status as of: Wed Sep 17 11:49:42 2014 CEST
Host up/down: unknown
Counters:
Queue
Soft Bounced Events 0
Completion
Completed Recipients 0
Hard Bounced Recipients 0
DNS Hard Bounces 0
5XX Hard Bounces 0
Filter Hard Bounces 0
Expired Hard Bounces 0
Other Hard Bounces 0
Delivered Recipients 0
Deleted Recipients 0
Gauges:
Queue
Active Recipients 0
Unattempted Recipients 0
Attempted Recipients 0
Connections
Current Outbound Connections 0
Pending Outbound Connections 0
Oldest Message No Messages
Last Activity Wed Sep 17 11:49:39 2014 CEST
Ordered IP addresses: (expiring at Tue Mar 04 08:16:06 2014 CET)
Preference IPs
10 172.31.147.230:25
MX Records:
Preference TTL Hostname
10 1d12s alln-mx-01.cisco.com
nslookup, opdracht
Voer de opdracht nslookup uit om te controleren of MX-records voor het geadresseerde domein geldig zijn.
mail.example.com> nslookup
Please enter the host or IP address to resolve.
[]> cisco.com
Choose the query type:
1. A the host's IP address
2. AAAA the host's IPv6 address
3. CNAME the canonical name for an alias
4. MX the mail exchanger
5. NS the name server for the named zone
6. PTR the hostname if the query is an Internet address,
otherwise the pointer to other information
7. SOA the domain's "start-of-authority" information
8. TXT the text information
[1]> 4
MX=rcdn-mx-01.cisco.com PREF=20 TTL=1d
MX=aer-mx-01.cisco.com PREF=30 TTL=1d
MX=alln-mx-01.cisco.com PREF=10 TTL=1d
DNSflush, opdracht
Voer de opdracht dnsflush uit als de DNS-record is gecorrigeerd om een nieuwe MX-record op te halen.
mail.example.com> dnsflush
Are you sure you want to clear out the DNS cache? [N]> Y
SMTP-tool
Voer de SMTP-tool voor connectiviteitstest uit en stuur een testbericht.
mail.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.
- NDPSHOW - Show system NDP cache.
- SMTPPING - Test a remote SMTP server.
- TCPDUMP - Dump ethernet packets.
[]> smtpping
Enter the hostname or IP address of the SMTP server:
[mail.example.com]> cisco.com
The domain you entered has MX records.
Would you like to select an MX host to test instead? [Y]>
Select an MX host to test.
1. aer-mx-01.cisco.com
2. alln-mx-01.cisco.com
3. rcdn-mx-01.cisco.com
[1]> 2
Select a network interface to use for the test.
1. Management
2. auto
[2]>
Do you want to type in a test message to send? If not, the connection can be
tested but no email can be sent. [N]> Y
Enter the From e-mail address:
[from@example.com]>
Enter the To e-mail address:
[to@example.com]> postmaster@cisco.com
Enter the Subject:
[Test Message]>
Enter the Body of the message one line at a time. End with a "." on a line by itself.
Test only
.
Starting SMTP test of host alln-mx-01.cisco.com.
Resolved 'alln-mx-01.cisco.com' to 172.31.147.230.
Connection to 172.31.147.230 succeeded.
Command EHLO succeeded
Command MAIL FROM succeeded.
Command RCPT TO succeeded.
Command DATA succeeded.
Mesage body accepted.
Test complete. Total time elapsed 1.48 seconds
Choose the operation you want to perform:
- FLUSH - Flush all network related caches.
- ARPSHOW - Show system ARP cache.
- NDPSHOW - Show system NDP cache.
- SMTPPING - Test a remote SMTP server.
- TCPDUMP - Dump ethernet packets
DeliverNow-opdracht
Voer de opdracht delivernow uit en dwing de ESA om opnieuw te proberen alle hosts of een specifieke host te leveren.
mail.example.com> delivernow
Please choose an option for scheduling immediate delivery.
1. By recipient domain
2. All messages
[1]> 2
Gerelateerde informatie