This document describes how to specify multiple destination hosts with the alt-mailhost action on the Cisco Email Security Appliance (ESA).
Cisco recommends that you have knowledge of these topics:
The information in this document is based on all versions of AsyncOS.
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, make sure that you understand the potential impact of any command.
How do you specify multiple destination hosts with the alt-mailhost action?
After you apply the alt-mailhost, the ESA still uses the Simple Mail Transfer Protocol (SMTP) routes in order to determine where messages are delivered.
This means that you can specify a Fully Qualified Domain Name (FQDN) within the alt-mailhost action and then add an SMTP route entry with the specified FQDN as the receiving domain. The various destination hosts are separated by commas, and they are used in a round-robin fashion in order to deliver messages to the specified domain.
Note: In this example, the Filter action and the SMTP route entry alternate between the hosts 192.168.2.1 and 192.168.2.2.