Re: [exim] RATELIMIT

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Matt
Data:  
Para: exim-users
Assunto: Re: [exim] RATELIMIT
>> Then I want a separate ratelimit for those that are authenticated.
>> Can someone tell me how to do that?
>
> warn !authenticated = *
>      <stuff>

>
> warn authenticated = *
>      <different-stuff>


So:

warn !authenticated = *
    ratelimit = 100 / 6h / per_rcpt / strict
        delay     = ${eval: ${sg{$sender_rate}{[.].*}{}} - $sender_rate_limit }s


warn authenticated = *
    ratelimit = 100 / 1h / per_rcpt /strict / $authenticated_id
        delay     = ${eval: ${sg{$sender_rate}{[.].*}{}} - $sender_rate_limit }s