Re: [exim] RATELIMIT

Top Page
Delete this message
Reply to this message
Author: Matt
Date:  
To: exim-users
Subject: 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