Re: [exim] Ratelimit Tricks

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Marc Perkel
Data:  
Para: Dave Evans
CC: exim-users
Assunto: Re: [exim] Ratelimit Tricks


Dave Evans wrote:
> On Fri, Nov 10, 2006 at 11:59:19AM -0500, Eli wrote:
>
>> What about something like this (which was what I was thinking):
>>
>> warn condition = ... bad recipient ...
>>      ratelimit = 1/1h/per_cmd
>>      delay = 30s

>>
>> Or have I missed something?
>>
>
> Yes, you missed this sentence:
>
> "At some point in the transaction, you need to check the current ratelimit
> value without incrementing (since you still want to check the ratelimit
> value even if they are sending to a valid recipient)."
>
> The poster wants to test the "ratelimit" condition somewhere /other/ than what
> causes the ratelimit to be exceeded. i.e. testing and triggering are done at
> separate times.
>


Yes - that is it.

Also - FEATURE REQUEST - I'd like to have an option to add (or subtract)
any value from the total. Add a number for failed recipients. Subtract a
number for good recipients.

With a few more features this could be very powerful.