Is it possible to do rate limiting per MX, or a group of IPs, and not by
email address / domain?
Right now, I limit by:
* master.cf:
slow unix - - n - - smtp
-o syslog_name=postfix-slow
* main.cf:
# domains which we want to slow down
transport_maps = hash:/etc/postfix/transport
# number of emails in one connections
slow_initial_destination_concurrency = 2
slow_default_destination_concurrency = 10
# connect every 3 minutes -> 20 times per hour
slow_destination_rate_delay = 180s
transport:
example.com1 slow:
...
example.comN slow:
But instead of listing every domain in transport_maps, I'd rather use
the MX values, or IP ranges - is it somehow possible?
--
Tomasz Chmielewski
http://wpkg.org