This document describes how to verify whether a Cisco Email Security Appliance (ESA) access rule is operating as TCPREFUSE or REJECT.
Use the mail logs or a packet capture to confirm the behavior. REJECT returns a 5XX Simple Mail Transfer Protocol (SMTP) response to the remote Message Transfer Agent (MTA). TCPREFUSE resets the connection by sending an RST, ACK packet.
Confirmation is required to determine whether a BLOCKED Mail Flow Policy access rule is operating as TCPREFUSE or REJECT.
TCPREFUSE and REJECT are the two connection behaviors normally associated with the BLOCKED Mail Flow Policy. REJECT blocks messages from a remote host with a notification, also called a hard bounce. TCPREFUSE drops the connection.
Use one of these verification methods:
Mail log entries confirm that the access rule was applied. For TCPREFUSE, entries appear only when verbose connection logging is enabled.
REJECT returns a 5XX SMTP response. TCPREFUSE resets the connection by sending an RST, ACK packet.
See .
Note: A hard bounce is a permanent SMTP rejection returned to the sending system. Verbose connection logging records additional connection details in the mail logs.
REJECT packet flow between the ESA and the remote Message Transfer Agent (MTA):
SYN Remote MTA -----------> ESA SYN, ACK ESA -----------> Remote MTA ACK Remote MTA -----------> ESA 5XX Code ESA -----------> Remote MTA FIN, ACK ESA -----------> Remote MTA ACK Remote MTA -----------> ESA FIN, ACK Remote MTA -----------> ESA ACK ESA -----------> Remote MTA
TCPREFUSE packet flow between the ESA and the remote MTA:
SYN Remote MTA -----------> ESA SYN, ACK ESA -----------> Remote MTA ACK Remote MTA -----------> ESA RST, ACK ESA -----------> Remote MTA
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
12-Aug-2014
|
Initial Release |