Explorar el Código

added pop3s and imaps ports to fail2ban.

Otherwise only pop and imap (un-secured) are blocked.
Which we don't use.
Joost Baaij hace 10 años
padre
commit
715399a2f1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      roles/common/templates/etc_fail2ban_jail.local.j2

+ 1
- 1
roles/common/templates/etc_fail2ban_jail.local.j2 Ver fichero

@@ -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…
Cancelar
Guardar