Re: [exim] ratelimit doesn't work

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy Harris
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] ratelimit doesn't work
On 25/04/14 20:15, Yves Goergen wrote:
> Hi,
>
> I've got a problem with the ratelimit configuration. It just doesn't
> work and it doesn't tell me why. Here's what I did:
>
>> acl_smtp_mail = acl_check_mail
>
> ...
>
>> acl_check_mail:
>>   # Rate limiting on all messages per host
>>   defer   ratelimit     = 50 / 5m / strict
>>           message       = Sending rate exceeded. Try again later.
>>           log_message   = Sending rate exceeded:
>> $sender_rate/$sender_rate_period (max $sender_rate_limit)

>>
>>   # Keep authenticated users under control
>>   deny    authenticated = *
>>           ratelimit     = 10 / 5m / strict / $authenticated_id

>>
>>   # System-wide rate limit
>>   defer   message       = Sorry, too busy. Try again later.
>>           ratelimit     = 100 / 10s / $primary_hostname

>
> Most of this is derived from the official documentation on the topic.
>
> Sending a message as authenticated user fails. The main log says that
> the message was "rejected". Nothing more. Thunderbird suggests
> "administrative problems" on the server.


Run a test in debug mode to work out which of those ratelimits
is firing.

>
> Exim 4.71 on Ubuntu 10.04.


Consider updating. That version is over four years old.
--
Cheers,
Jeremy