mirror of https://github.com/fail2ban/fail2ban
ENH: dovecot jail examples
parent
cde389cadc
commit
8412303131
|
@ -472,9 +472,16 @@ filter = webmin-auth
|
|||
action = iptables-multiport[name=webmin,port="10000"]
|
||||
logpath = /var/log/auth.log
|
||||
|
||||
# dovecot defaults to logging to the mail syslog facility
|
||||
# but can be set by syslog_facility in the dovecot configuration.
|
||||
[dovecot]
|
||||
enabled = false
|
||||
filter = dovecot
|
||||
action = iptables-multiport[name=dovecot, port="pop3,pop3s,imap,imaps", protocol=tcp]
|
||||
logpath = /var/log/secure
|
||||
logpath = /var/log/mail.log
|
||||
|
||||
[dovecot-auth]
|
||||
enabled = false
|
||||
filter = dovecot
|
||||
action = iptables-multiport[name=dovecot-auth, port="pop3,pop3s,imap,imaps", protocol=tcp]
|
||||
logpath = /var/log/secure
|
||||
|
|
Loading…
Reference in New Issue