Re: [exim] understanding rate limiting

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Exim Mailing List
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] understanding rate limiting
On Thu, Oct 23, 2008 at 04:18:57PM -0400, Eli Sand wrote:
> Was just reading up on the rate limiting stuff and noticed that in the
> current docs, section 40.39 it has an example of code you can use, however
> I'm wondering if it would actually work properly?
>
> Does this mean that the example code should have "per_cmd" specified in the
> ratelimit setting in acl_check_connect to have it properly check the same
> ratelimited data? As I am currently understanding it... the ratelimit check
> in the acl_check_connect acl would never return true, since no data matching
> that ratelimit line is updating data.


Yes, I believe you are right. The per_cmd keywords needs to be added
to the example in acl_check_connect, or it would default to per_mail
instead and never successfully match the correct key.

The documentation needs to be updated, at least as far as I can tell.

--
Dean Brooks
dean@???