Re: [exim] RATELIMIT

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Matt
日付:  
To: 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