mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
The current fail2ban regexp catches all SMTP connection errors. This works fine, but includes connection errors, that can be caused by transient external causes, and accidentally delay email delivery. This patch changes the regexp to be more targeted towards specific SMTP errors that are likely to be caused by deliberate actions. The expression was cross-checked with a few month of errors to confirm it should not have false positives, and that it correctly left connection errors alone. Thanks to pepperbob@github for reporting this in https://github.com/albertito/chasquid/issues/77.