mirror of
https://github.com/fail2ban/fail2ban.git
synced 2025-11-26 14:20:19 +08:00
BF: add jail.conf definitions for sendmail* filters
This commit is contained in:
@@ -157,6 +157,21 @@ logpath = /var/log/daemon.log
|
||||
maxretry = 6
|
||||
|
||||
|
||||
[sendmail-auth]
|
||||
|
||||
enabled = false
|
||||
filter = sendmail-auth
|
||||
action = iptables-multiport[name=sendmail-auth, port="submission,465,smtp", protocol=tcp]
|
||||
logpath = /var/log/mail.log
|
||||
|
||||
|
||||
[sendmail-spam]
|
||||
|
||||
enabled = false
|
||||
filter = sendmail-spam
|
||||
action = iptables[name=sendmail-spam, port=smtp, protocol=tcp]
|
||||
logpath = /var/log/mail.log
|
||||
|
||||
|
||||
# This jail forces the backend to "polling".
|
||||
[sasl-iptables]
|
||||
|
||||
Reference in New Issue
Block a user