Re: [exim] Exim4 outgoing limit

Pàgina inicial
Delete this message
Reply to this message
Autor: Jasen Betts
Data:  
A: exim-users
Assumpte: Re: [exim] Exim4 outgoing limit
On 2014-03-12, Neo <neo@???> wrote:
> Am 12.03.2014 09:05, schrieb Jasen Betts:
>> On 2014-03-11, Neo <neo@???> wrote:
>>> |acl_not_smtp:
>>>          deny message = Sender rate overlimit - $sender_rate / $sender_rate_period
>>>          ratelimit = 50 / 1h / strict
>>>          accept

>>>
>>> The problem is, its limit not per user and so it blocks the hole server, any idea how to limit it per user?
>> do the ratelimit like this:
>>
>>         ratelimit = 50 / 1h / strict / $authenticated_sender

>>
>>
>>
> Dosent work thats what i get:
>
> v2014-03-12 12:14:50 1WNh7a-0005R5-Rm F=<admin@???>
> rejected by non-SMTP ACL: Sender rate overlimit - 7.0 / 1h
> 2014-03-12 12:14:50 1WNh7a-0005R7-S8 <= <> R=1WNh7a-0005R5-Rm
> U=Debian-exim P=local S=1165
> 2014-03-12 12:14:50 1WNh7a-0005R7-S8 remote host address is the local
> host: web01.xxxxxxxxxx.net
> 2014-03-12 12:14:50 1WNh7a-0005R7-S8 == admin@???
> R=dnslookup defer (-1): remote host address is the local host
> 2014-03-12 12:14:50 1WNh7a-0005R7-S8 Frozen
> 2014-03-12 12:16:32 1WNh9E-0005b3-Af F=<test@???> rejected by
> non-SMTP ACL: Sender rate overlimit - 7.8 / 1h
> 2014-03-12 12:16:32 1WNh9E-0005b5-B6 <= <> R=1WNh9E-0005b3-Af
> U=Debian-exim P=local S=1233
> 2014-03-12 12:16:32 1WNh9E-0005b5-B6 => test <test@???>
> R=localuser T=local_delivery
> 2014-03-12 12:16:32 1WNh9E-0005b5-B6 Completed
>
> So as you see it blocks the spam mail and another email that dosent spammed.


It's not blocking 1WNh7a-0005R7-S8 or 1WNh9E-0005b5-B6 and they'll
also be using the non-SMTP ACL so it's partly working.

I'm assuming you reduced the 50 to something smaller.



--
Neither the pheasant plucker, nor the pheasant plucker's son.