Hi all,
I´m trying to set a milter-greylist rule to control users who send many big messages, so I intend to set a rule to limit users who send more than 200 messages and hour bigger than 500KB, so far I found that I could use a rule like this:
list "USERS" addr { 158.227.4.29/16 }
ratelimit "MESSAGES_PER_HOUR" rcpt 2 / 1m key "%f%i"
racl blacklist list "USERS" ratelimit "MESSAGES_PER_HOUR" msg "LIMIT_1H. You have passed the limit".
But I don´t see where should I limit the size of the messages, I read somewhere that you can use msgsize in a dacl rule, but I don´t see how to merge both.
Any hint?
Thanks a lot.Message
Limit message size and number of recipients at the same time
2011-11-21 by MARENTXU