[Mimedefang] MAX_RCPTS_PER_MESSAGE replaced by Milter?

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Fri Oct 5 03:39:23 EDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 24 Sep 2012, Kevin A. McGrail wrote:

> My thoughts are to have the standard limit but raise it for authenticated 
> users and/or perhaps give them more of a rate or per day limit?

I store the number of recipients of messages of authentificated users in a 
SQL database and query it, both in filter_begin(). If the limit is 
reached, the whole message is tempfailed. There are hourly, daily and 
weekly limits calculated using the "interval" operator of SQL.

Kind regards,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBUG6Oq/41+pMevzVSAQIyMwf+PUOxOE6lomH1YXAl50JdBAkWeRPpwDSB
O9rQvMsLBgtr1HuqNspurPOD/lUKfjQUkjbC1aXFYEzgUVjovzEv3t0LmBcuNwr4
Oq3HB3+riSLmBfGBsmPtIWwr72ff3kW7QbudJ69x9ZrmjEFAq2K0jLuH/Fkh5Vmn
iGmxagZbY7zvEZmYD15eqjB8S8s7DZ0klt9r/co8o7TJQcw77ZG1af9YudyCqlU3
20E5/NUSn9L4aNEVP6RKO1PiT0Janf/Fp5o2fmufhLv6NBsjmAb2CqNZKW/U7XEL
WUVWuqmIiXZFTcwjQvfaPa2Y0PujnrSxzaTBCQVIr0FTkSI6jzPh1A==
=5TXQ
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list