Re: [Exim] Re: smtp_accept_max_rcpt_failures?!

Góra strony
Delete this message
Reply to this message
Autor: Ralf G. R. Bergs
Data:  
Dla: exim-users@exim.org
Temat: Re: [Exim] Re: smtp_accept_max_rcpt_failures?!
On Mon, 02 Jun 2003 07:43:36 +0000 (UTC), Patrick Starrenburg wrote:

>On Mon, 02 Jun 2003 06:50:59 GMT Ralf G. R. Bergs wrote:
>
>> Is there a way of saying "if the client connected gave more than <n>
>> rejected RCPT commands, disconnect it"? I suspect there isn't since I
>> couldn't find anything applicable.
>
>What we use got from someone else on the list (!) who only allowed two. We
>do three. For good measure delays them also.
>
>acl_check_rcpt:
>
>  # We stall people who try 3 or more illegal recipients
>  deny  message      = Max 3 failed recipients allowed
>        condition    = ${if >{$rcpt_fail_count}{2} {1}}
>        delay        = ${eval: ($rcpt_fail_count) * 30}s
>        log_message  = $rcpt_fail_count failed recipient attempts


Sweet!!!!!!!!!!

>Enjoy


Will do! :-)

Thanks much,

Ralf


--
   L I N U X       .~.
  The  Choice      /V\
   of a  GNU      /( )\
  Generation      ^^-^^