[Exim] Re: smtp_accept_max_rcpt_failures?!

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Patrick Starrenburg
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] Re: smtp_accept_max_rcpt_failures?!
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


Enjoy

PS