Re: [exim] ratelimit question

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Exim Mailing List
日付:  
To: exim-users
題目: Re: [exim] ratelimit question
On Wed, Nov 18, 2009 at 11:10:47AM +0300, Vasiliy G Tolstov wrote:
> Hello. I'm using exim to ratelimit local not_smtp messages in this acl:
>
> After some time i get error says that my ratelimit exceded. 3680 of
> 2000. How can this do? May be exim counting bounces?
> I'm not completely understand, why i can't send 2000 messages..


If I recall, bounces are indeed re-injected automatically by Exim
as a local message. You'll need to modify your ACL to:

acl_check_not_smtp:
  deny ! senders = :
       ratelimit = 2000 / 1h / strict / $sender_ident
       message   = You can only send $sender_rate_limit per $sender_rate_period
       log_message = "RATE: $sender_rate/$sender_rate_period (max
                     $sender_rate_limit) $sender_ident"


--
Dean Brooks
dean@???