浏览代码

added pop3s and imaps ports to fail2ban.

Otherwise only pop and imap (un-secured) are blocked.
Which we don't use.
Joost Baaij 11 年前
父节点
当前提交
715399a2f1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      roles/common/templates/etc_fail2ban_jail.local.j2

+ 1
- 1
roles/common/templates/etc_fail2ban_jail.local.j2 查看文件

@@ -27,7 +27,7 @@ maxretry = 1
27 27
 [dovecot-pop3imap]
28 28
 enabled = true
29 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 31
 logpath = /var/log/maillog
32 32
 maxretry = 20
33 33
 findtime = 1200

正在加载...
取消
保存