The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This document describes how to configure a Beta Cisco Email Security Appliance (ESA) in order to accept production ESA traffic via a message filter.
There are no specific requirements for this document.
This document is not restricted to specific software and hardware versions.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.
The initial Listener configuration is to be completed on the Beta ESA.
For relayed traffic or outbound messages, add in the appropriate IP address(es) for the Beta ESA in order to accept and relay messages from the Production ESA.
SMTP Route changes that need to be made on the Beta ESA are as follows:
At this time, SMTP Routes on the Beta appliance is as shown in the image:
Note: Add the appropriate routes to deliver emails to test end-users for domains as needed.
Incoming relay configuration allows the beta to retrieve the SBRS score beyone that of the Production ESA.
Most configurations will work with one Hop.
Incoming Relay: Disabled State.
Incoming Relay: Enabled State, colored white.
Incoming Relay: Sample Template
Incoming Relay: Summary view after Submit.
Sample mail log entry:
Mon Apr 8 12:48:28 2019 Info: MID 2422822 IncomingRelay(PROD_hc2881-52): Header Received found, IP 54.240.35.22 being used, SBRS 3.5 country United States
Log Spam Headers to Mail Logs
END OF BETA SIDE CONFIGURATION.
Caution: You are about to make changes to a Production ESA. Ensure that you backup the current configuration.
SMTP routes must be added in order to allow BCC for all inbound and outbound emails from the Production ESA to the Beta ESA. For this example, inbound.beta.com and outbound.beta.com are used.
At this time, SMTP Routes on the Production ESA as shown in the image:
A combination Bounce Profile and Destination Control Profile will protect the production mail flow from complications associated with delays or failures to deliver messages to the Beta Hosts. This configuration will only apply to the beta messages.
Bounce Profile Creation
Note: The numbered values above are configured very aggressively to prevent Delivery Queue Backups in the event of a delivery interruption to the Beta Hosts. The values may be modified to preference. The notification settings are intentionally set to NO to prevent any user notifications from being delivered from the BCC Filters.
Add Destination Control Profiles.
Summary View of New Destination Control Profiles.
From the CLI on the Production ESA, construct a message filter that can BCC emails to the appropriate Listener on the Beta ESA.
bcc-EFT: if sendergroup == "RELAY" {
bcc ("$enveloperecipients", "$Subject", "$EnvelopeFrom", "outbound.beta.com");
log-entry("<=====BCC COPY TO BETA ESA=====>");
} else {
bcc ("$enveloperecipients", "$Subject", "$EnvelopeFrom", "inbound.beta.com");
log-entry("<=====BCC COPY TO BETA ESA=====>");
}
.
Note: Limit the traffic copied in the message filter based on sendergroup, recv-listener, mail-from, or other available rules and syntax. Consult the ESA User Guide for complete Message Filter Rules and Filter Rules Summary.
Use this section in order to confirm that your configuration works properly.
At this time, the Beta appliance accepts email traffic from Production appliance. In order to verify from CLI on the Beta appliance, run tail mail_logs:
Wed Mar 23 17:28:43 2016 Info: New SMTP ICID 2 interface Management (172.18.250.222) address 172.18.250.224 reverse dns host dhcp-172-18-250-224.cisco.com verified yes
Wed Mar 23 17:28:43 2016 Info: ICID 2 RELAY SG RELAY match 172.18.250.1/24 SBRS not enabled
Wed Mar 23 17:28:43 2016 Info: Start MID 2 ICID 2
Wed Mar 23 17:28:43 2016 Info: MID 2 ICID 2 From: <test@test.com>
Wed Mar 23 17:28:43 2016 Info: MID 2 ICID 2 RID 0 To: <robsherw@ironport.com>
Wed Mar 23 17:28:43 2016 Info: MID 2 Message-ID '<a033ed$2@9.9.5-038.local>'
Wed Mar 23 17:28:43 2016 Info: MID 2 Subject 'TEST 2'
Wed Mar 23 17:28:43 2016 Info: MID 2 ready 320 bytes from <test@test.com>
Wed Mar 23 17:28:43 2016 Info: MID 2 matched all recipients for per-recipient policy DEFAULT in the outbound table
Wed Mar 23 17:28:43 2016 Info: MID 2 queued for delivery
Wed Mar 23 17:28:43 2016 Info: New SMTP DCID 3 interface 172.18.250.222 address 173.37.93.161 port 25
Wed Mar 23 17:28:43 2016 Info: Delivery start DCID 3 MID 2 to RID [0]
Wed Mar 23 17:28:44 2016 Info: Message done DCID 3 MID 2 to RID [0]
Wed Mar 23 17:28:44 2016 Info: MID 2 RID [0] Response '2.0.0 u2NHSipG018673 Message accepted for delivery'
Wed Mar 23 17:28:44 2016 Info: Message finished MID 2 done
Wed Mar 23 17:28:48 2016 Info: ICID 2 close
Wed Mar 23 17:28:49 2016 Info: DCID 3 close
The SMTP communication establishes on 172.18.250.222 (Beta appliance). The address from which the traffic is sent is from is 172.18.250.224 (Production appliance).
The Sender Group that receives the communication is RELAY, relayed traffic from the 172.18.250.1/24 network.
The rest is the communication of the TEST 2 message.
On the Production appliance, verify and run tail mail_logs. The MID processed on Production would show:
Wed Mar 23 14:50:10 2016 Info: MID 242 was generated based on MID 241 by bcc filter 'bcc-EFT'
This would be a clear cut splintering of the email message as received and BCC'd over to the Beta appliance and test end-user as intended for receipt.
There is currently no specific troubleshooting information available for this configuration.
A content filter may be considered in order to help differentiate Production vs. Beta email traffic for test end-users.
At this time, the content filter on the Beta ESA is as shown in the images:
Now, when an email message is received on the Beta ESA you can see this in the Subject line of the email once processed as shown in the image: