On 02/14/2012 01:01 AM, Wietse Venema wrote:
Tomasz Chmielewski:
Is it possible to do rate limiting per MX, or a group of IPs, and not by
email address / domain?
...
But instead of listing every domain in transport_maps, I'd rather use
the MX values, or IP ranges - is it somehow possible?

This is not possible.

DNS lookups happen in the Postfix SMTP client.

Transport map lookups happen (in trivial-rewrite), before the
decision is made that mail will be delivered via SMTP.

OK, so I suppose the best way to go would be simply parsing the log periodically and populate the transport file, according to some criteria?


--
Tomasz Chmielewski
http://wpkg.org

Reply via email to