Nigel Metheringham edited this page Nov 29, 2012 · 2 revisions

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.


Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.