Roller Network Help - Greylisting
Greylisting is a filtering method that leverages the normal retry behavior of an RFC compliant MTA. It is effective against messages sourced from hijacked systems, viruses, and "send once" mailers. Greylisting works by comparing the sender IP address, envelope sender and envelope recipient with configurable timing parameters.
Important: If you use a greylisting filter downstream from Roller Network please exempt our servers to prevent unnecessary delays. Our services utilize an RFC compliant MTA that will always retry. A current list of our IP addresses and hostnames can be found on the resource access page.
By default the Greylisting filter is disabled.
Configuration
The basic greylisting options for the Roller Network Greylisting filter are:
- Delay Time - Minimum waiting time to delay a previously unseen triplet. After this time has elapsed any message matching its greylist entry will be permitted without delay. The default is 5 minutes.
- Maximum Age - This is the maximum time that an entry will be kept in the greylist table. The default is 32 days, after which the entry will be automatically pruned to remove stale data.
- Retry Window - This is the window in which the greylisting filter will wait for a retry attempt. If a successful attempt is not seen within this time period, the entry is removed from the table. The default is 4 hours.
- Maximum Retries - The maximum number of allowed attempts during the Delay Time. Clients that retry more than this setting are considered "woodpeckers" and will be rejected with a permanent delivery error. The default is 30 retries.
Additional Options
There are several additional options that control how the greylisting filter handles the client/sender/recipient triplet. These options are:
- Don't delay SPF "pass" - Skip greylisting if an SPF lookup returns a "pass" result indicating the client IP is an authorized sender for the domain. (This is independent of the SPF filter.)
- Octets to ignore in client IPv4 - Client IPv4 addresses can be matched within the last one (/24) or two (/16) octets. A setting of "none" requires a full IP match. The recommended setting is "Last Only" in order to handle mail clusters that may retry from different addresses within the same subnet.
- Ignore address extensions - Extensions are stripped from the recipient address before being added to the greylisting table if this option is selected: user+extension@example.com becomes user@example.com.
- Attempt to normalize VERP - VERP, or Variable Envelope Return Paths, are commonly used as the envelope sender for mailing lists. If this option is enabled the filter will attempt to normalize some addresses. It may not be possible to normalize all VERP addresses.
Greylisting Data Table
The Greylisting Data Table provides a live view of the current triplets and their timing. It is hidden by default. To show or clear the table click on the "show table" link to reveal additional options. Using this table you can observe how the filter is behaving based on your settings and adjust them to suit your needs. However, there are some setting combinations you should not use, such as setting the delay time longer than the retry window or a low maximum retry setting. Individual triplets may also be removed using the table, including clearing the entire table.
All of the Roller Network SMTP servers operate with synchronized greylisting. A message greylisted on one is automatically seen by the others. This includes the "fail" counter as well, which means that clients that try to bypass the greylisting filter by rapidly connecting to multiple servers will cause the failure counter to increase. A server acting as a "woodpecker" will quickly find themselves blocked by the maximum retries setting.
The Greylisting filter is available on accounts with a service level of Personal or higher.
References
- Evan Harris' whitepaper The Next Step in the Spam Control War: Greylisting
