Re: [exim] RATELIMIT

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Matt
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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