Created
October 4, 2015 02:08
-
-
Save shoaibali/98eb576f97a2d8b01c0d to your computer and use it in GitHub Desktop.
/etc/fail2ban/jail.local
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[pureftpd] | |
enabled = true | |
port = ftp | |
filter = pureftpd | |
logpath = /var/log/syslog | |
maxretry = 3 | |
[dovecot-pop3imap] | |
enabled = true | |
filter = dovecot-pop3imap | |
action = iptables-multiport[name=dovecot-pop3imap, port="pop3,pop3s,imap,imaps", protocol=tcp] | |
logpath = /var/log/mail.log | |
maxretry = 5 | |
[postfix-sasl] | |
enabled = true | |
port = smtp | |
filter = postfix-sasl | |
logpath = /var/log/mail.log | |
maxretry = 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment