Re: [exim] Ratelimit Tricks

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Exim Mailing List
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Ratelimit Tricks
On Fri, Nov 10, 2006 at 11:38:18AM -0500, Eli wrote:

> Are you sure? After reading what the per_cmd option does for ratelimit, it
> sounds as if you merely need to have it after a condition that will pass
> when you want it to, and fail otherwise (in which case the ratelimit command
> will never be processed).


If you are just trying to do a simple check to see if someone is over
a limit, there is no way to check a ratelimit value without incrementing
at least once.

Imagine ratelimiting a sender ip that sends to too many invalid recipients.

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). There is no way
that I am aware of to do this.

--
Dean Brooks
dean@???