Re: [exim] Ratelimit

Góra strony
Delete this message
Reply to this message
Autor: Jan Ingvoldstad
Data:  
Dla: exim-users
Temat: Re: [exim] Ratelimit
On Mon, Jul 22, 2013 at 11:21 PM, Jeremy Harris <jgh@???> wrote:

> On 07/22/2013 09:59 PM, Matt wrote:
>
>> I have this to slow fast senders.
>>
>> warn ratelimit = 100 / 1h / per_rcpt / strict
>>           delay     = ${eval: ${sg{$sender_rate}{[.].*}{}} -
>> $sender_rate_limit }s

>>
>> I would like to NOT enforce this on authenticated senders since I am
>> slowing them elsewhere. I imagine I need to add this (!authenticated
>> = *) somewhere but where?
>>
>
> Just after the word "warn".



As I understand it:

Please also note that because you have specified "strict" rather than
leaving the default "leaky" ratelimiting, this not merely takes
_successful_ sending attempts into account, but also unsuccessful attempts.

This is a bit of a gotcha.

http://www.exim.org/exim-html-current/doc/html/spec_html/ch-access_control_lists.html#ratoptfast
--
Jan