mirror of https://github.com/fail2ban/fail2ban
BF: add jail.conf definitions for sendmail* filters
parent
3d776afbb0
commit
fe1725c603
|
@ -157,6 +157,21 @@ logpath = /var/log/daemon.log
|
||||||
maxretry = 6
|
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".
|
# This jail forces the backend to "polling".
|
||||||
[sasl-iptables]
|
[sasl-iptables]
|
||||||
|
|
Loading…
Reference in New Issue