[exim] ratelimit doesn't work

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Yves Goergen
Data:  
Para: exim
Asunto: [exim] ratelimit doesn't work
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.

What have I done wrong? How can it be corrected?

Exim 4.71 on Ubuntu 10.04.

--
Yves Goergen
http://unclassified.de
http://dev.unclassified.de