Am 12.03.2014 09:05, schrieb Jasen Betts:
> On 2014-03-11, Neo <[email protected]> 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=<[email protected]>
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 == [email protected]
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=<[email protected]> 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 <[email protected]>
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.

-- 
## List details at https://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/

Reply via email to