Adding sequence for fail2ban finally and updating supporting files

This commit is contained in:
2021-01-14 21:13:38 +01:00
parent 688d1c871b
commit 9c9af7f7f4
7 changed files with 106 additions and 13 deletions

View File

@@ -1,6 +1,21 @@
[dovecot]
enabled = true
port = pop3,pop3s,imap,imaps
filter = dovecot
logpath = /var/log/mail.info
maxretry = 3
enabled = true
port = smtp,ssmtp,pop3,pop3s,imap,imap2,imaps
filter = dovecot
logpath = /var/log/mail.log
maxretry = 3
bantime = 24h
[postfix]
enabled = true
port = smtp,ssmtp
filter = postfix
logpath = /var/log/mail.log
maxretry = 3
[postfix-sasl]
enabled = true
port = smtp,ssmtp,imap2,imaps,pop3,pop3s
filter = postfix[mode=auth]
logpath = /var/log/mail.log
maxretry = 3