mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
ENH: dovecot jail examples
This commit is contained in:
parent
cde389cadc
commit
8412303131
1 changed files with 8 additions and 1 deletions
|
|
@ -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 a new issue