Question
How can I rate limit email based on the sender's email address?
Environment
Cisco Email Security Appliance running AsyncOS 7.6 and newer
Sender Rate Limiting is a feature that is new as of AsyncOS 7.6. It limits the number of recipients accepted each hour from each envelope sender address. This automatically throttles mass mailings, including but not limited to those that are legitimate, accidental, or sourced from malware or viruses. By slowing these down, you gain time to track down the source of unwanted mailings. For legitimate mailings, it can help mitigate automated blocking at some destination sites.
Each Listener tracks its own rate limiting threshold; however, because all listeners validate against a single counter, it is more likely that the rate limit will be exceeded if messages from the same mail-from address are received by multiple Listeners.
AsyncOS 7.6 also adds a new Rate Limiting Report that allows you to quickly identify individual senders of large numbers of messages. Use this Report to help you to control spam from internal user accounts, identify compromised user accounts, limit out-of-control applications that use email and avoid damaging your organization's online reputation and the attendant hassles resulting from this situation.
Note: This is all based on Envelope Sender, not the From header.
To apply this feature to an existing Sender Group:
- Start on the HAT Overview page of the Mail Policies tab.
- Identify the Sender Group you wish to effect.
- Click on the Mail Flow Policy's name that is associated with this Sender Group.
- Click 'Rate Limit for Envelope Senders' to expand options.
- Set desired 'Max. Recipients Per Time Interval'.
- Submit & Commit
If your organization regularly sends time-sensitive mailings, you can set it up with 'Exceptions' enabled:
- Start on the Address Lists page of the Mail Polices tab.
- Click 'Add Address Lists'.
- Give it a meaningful Name and a Description (optional).
- Specify the Addresses which should not be rate limited.
- Submit.
- Go to the HAT Overview page of the Mail Policies tab.
- Identify the Sender Group you wish to effect.
- Click on the Mail Flow Policy's name that is associated with this Sender Group.
- Click 'Rate Limit for Envelope Senders' to expand options.
- Set desired 'Max. Recipients Per Time Interval'.
- Enable toggle for 'Ignore Rate Limit for Address List'.
- Select the Address List you created earlier from the drop-down.
- Submit and Commit.