On 2016-09-09 18:07, Marcus Schopen lists-yahoogroups@...
[milter-greylist] wrote:
>> ---------------
>> noauth
>>
>> # Limit Test
>> list "MY_NETWORKS" addr { 192.168.101.0/24}
>> ratelimit "limite_1H" rcpt 2 / 5m key "%M{auth_authen}"
>> sm_macro "null" "{auth_authen}" unset
>> racl blacklist not sm_macro "null" not list "MY_NETWORKS" ratelimit
>> "limite_1H" msg "Quota exceeded. You talk too much %M{auth_authen}"
>>
>> racl whitelist auth /.*/
>> dacl whitelist auth /.*/
>> ---------------
>
> Hmm ... the blacklist will cause a 5.7.1 error. As I understand this
> is
> not a tempfail. If the authenticated client is a spooling mailserver
> the
> mail will reject and not resent in the next ratelimit window, right?
> How
> to not blacklist, but tempfail?
This seems to work with tempfail codes:
racl blacklist not sm_macro "null" not list "MY_NETWORKS" ratelimit
"limite_1H" code "451" ecode "4.7.1" msg "Quota exceeded. You talk too
much %M{auth_authen}"
Ciao!
MarcusMessage
Re: [milter-greylist] Re: Auth or noauth
2016-09-09 by Marcus Schopen
Attachments
- No local attachments were found for this message.