Re: [exim] RATELIMIT

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Matt
Data:  
Para: exim-users
Asunto: 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