Browse Source

Merge pull request #135 from tilsammans/fail2ban-imaps-pop3s

added pop3s and imaps ports to fail2ban.
Luke Cyca 10 years ago
parent
commit
460026cfb3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      roles/common/templates/etc_fail2ban_jail.local.j2

+ 1
- 1
roles/common/templates/etc_fail2ban_jail.local.j2 View File

27
 [dovecot-pop3imap]
27
 [dovecot-pop3imap]
28
 enabled = true
28
 enabled = true
29
 filter = dovecot-pop3imap
29
 filter = dovecot-pop3imap
30
-action = iptables-multiport[name=dovecot-pop3imap, port="pop3,imap", protocol=tcp]
30
+action = iptables-multiport[name=dovecot-pop3imap, port="pop3,imap,993,995", protocol=tcp]
31
 logpath = /var/log/maillog
31
 logpath = /var/log/maillog
32
 maxretry = 20
32
 maxretry = 20
33
 findtime = 1200
33
 findtime = 1200

Loading…
Cancel
Save