Re: [exim] Slowing With Ratelimit

Góra strony
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Dla: exim-users
Temat: Re: [exim] Slowing With Ratelimit
On 11/14/2012 04:40 PM, Matt wrote:
> warn ratelimit = 100 / 1h / per_rcpt / strict
>           delay     = ${eval: ${sg{$sender_rate}{[.].*}{}} -
> $sender_rate_limit }s

>
> Is there a way to only apply this ratelimit to non local addresses?
> Perhaps one statement for local addresses and a seperate for non local
> so they are not in same bundle or ratelimited the same?


Yes; just duplicate the warn and put a condition at the start
of each which selects the class of address you want each ratelimit
to apply to.

--
Jeremy