[prev in list] [next in list] [prev in thread] [next in thread] 

List:       exim-users
Subject:    Re: [exim] understanding rate limiting
From:       Dean Brooks <dean () iglou ! com>
Date:       2008-10-24 16:05:41
Message-ID: 20081024160541.GA1510 () iglou ! com
[Download RAW message or body]

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@iglou.com



-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic