stevem wrote:
Hello.
Is it possible to create different throttling thresholds based on the
domain or MTA that is connecting to postfix? Ie, allow google.com
to send freely, but limit suspectdomain.com to a certain number of
messages/connections per minute/hour/day etc.
Thank you.
stevem
If you implement throttling with the postfix anvil(8) service,
there are two classes: unlimited and everyone else.
IMPORTANT: These limits must not be used to regulate
legitimate traffic: mail will suffer grotesque delays if you
do so. The limits are designed to protect the smtpd(8) server
against abuse by out-of-control clients.
http://www.postfix.org/postconf.5.html#smtpd_client_event_limit_exceptions
http://www.postfix.org/TUNING_README.html#conn_limit
If you implement throttling with an external policy service,
you can do whatever you want.
http://www.postfix.org/SMTPD_POLICY_README.html
-- Noel Jones