Re: [exim] ratelimit is counting wrong

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marten Lehmann
Date:  
À: exim-users
Sujet: Re: [exim] ratelimit is counting wrong
Hello,

> What you are trying to do should work the way it's coded. It's quite
> likely that you have something else wrong in your ACLs. Please see
> my other reply to your thread for more info.


"should" is the correct description. Because it doesn't. According to
your recommendation I extended the ACL so that it includes logging:

   defer   authenticated = *
           ratelimit     = 
${lookup{$authenticated_id}lsearch*@{/etc/mailrelay/ratelimits.txt}} / 
1h / per_rcpt / strict / $authenticated_id
           message       = Sender rate limit reached, account 
temporarily disabled.
           log_message   = RATELIMIT EXCEEDED: $authenticated_id / 
$sender_rate / $sender_rate_period



And now I have logging lines like this:

2008-10-22 15:54:33 H=(mail.xxx) [1.2.3.4] F=<m.h@xxx> temporarily
rejected RCPT <some@address>: RATELIMIT EXCEEDED: info@xxx / 2424.4 / 1h

Just tell me how you would send a 0.4 portion of an email. So exim
definetely does interpolate which I didn't ask it to do.

Kind regards
Marten