FAQ / Policy controls / Q0738



Q0738

Question

How can I configure Exim to delay the SMTP connection if more than 10 invalid recipients are received in one message?

Answer

Put something like this in your RCPT ACL:

deny  message         = Max $rcpt_fail_count failed recipients allowed
      condition       = ${if >{$rcpt_fail_count}{10} {1}}
      ! verify        = recipient
      delay           = ${eval: $rcpt_fail_count * 10}s
      log_message     = $rcpt_fail_count failed recipient attempts

This example increases the delay for each failed recipient.



FAQ / Policy controls / Q0738


CategoryFrequentlyAskedQuestions

EximWiki: FAQ/Policy_controls/Q0738 (last edited 2008-09-25 11:39:34 by localhost)