> There is no smtpd_client_auth_rate_limit feature, but adding one > would be a simple matter of duplicating some code that already > implements the smtpd_client_new_tls_session_rate_limit feature.
I implemented this for Postfix 2.x and 3.x. It was all implemented by code duplication. I am sure it is possible to simplify the anvil code a lot, and thereby make it more general so that it can also implement per sasl-user rate limits, and even implement per-sender or per-recipient rate limits. But that will have to be later. ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/feature-patches/ 20151017-auth-rate-limit-2.x 20151017-auth-rate-limit-2.x.gpg1 20151017-auth-rate-limit-2.x.gpg2 20151017-auth-rate-limit-2.x.sig 20151017-auth-rate-limit-3.x 20151017-auth-rate-limit-3.x.gpg1 20151017-auth-rate-limit-3.x.gpg2 20151017-auth-rate-limit-3.x.sig The .gpg* and .sig files files are PGP signatures for multiple generations of PGP or GPG. Wietse