Introduction
This document describes how to configure a dedicated listener for SMTP authentication on ESA.
Question:
How do I create a dedicated listener for SMTP authentication?
Environment: Cisco Email Security Appliance (ESA) (all AsyncOS versions)
Use this procedure to allow authenticated users to relay mail even when ISPs block outbound TCP port 25 or when sender reputation controls prevent connections.
Prerequisites:
- An LDAP or forward SMTP authentication profile
- A custom port allowed through your firewall (587 is recommended). This allows you to use an existing IP interface and allows users whose ISPs block port 25 to use the service.
By default, the ESA can block connections from IP addresses with poor reputations. This can prevent users from connecting to the ESA to relay email using SMTP authentication.
Many users can also have ISPs that block connections on the standard port 25 for security reasons.
To avoid both of these problems, create a listener dedicated to SMTP authentication. This listener requires SMTP authentication before it accepts email. It can also run on a custom port to avoid blocking by ISPs.
Resolution: Configure the dedicated listener in the web interface:
- Navigate to Network > Listeners.
- Select Add Listener....
- Select Private for the listener type.
- For the port, select a port other than 25 (587 is recommended).
- Select the existing profile in the SMTP Authentication Profile drop-down list.
- Select Submit.
- Select the HAT link for the new listener.
- Select the BLOCKED mail flow policy.
- Change the name to AUTH.
- Set Connection Behavior to Accept.
- Set SMTP Authentication to Required.
- Set TLS to Required. Cisco recommends this setting.
- Select Submit.
- Commit the changes.
Expected result: The dedicated listener accepts connections on the configured port and requires SMTP authentication (and TLS, if set to Required) before it accepts email.