瀏覽代碼

added pop3s and imaps ports to fail2ban.

Otherwise only pop and imap (un-secured) are blocked.
Which we don't use.
Joost Baaij 10 年之前
父節點
當前提交
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

Loading…
取消
儲存