fail2ban email notifications

Subject:

make sure mailx is installedhttps://superuser.com/questions/369758/how-to-install-mail

snippet in your /etc/fail2ban/jail.local[ssh-iptables] enabled = true filter = sshd action = iptables[name=SSH, port=ssh, protocol=tcp] mail[name=ssh, dest=my-address@gmail.com] logpath = /var/log/secure maxretry = 5ref: https://stackoverflow.com/questions/25890510/fail2ban-not-sending-email-notifications

 

 

2017-06-08 07:37:08gstlouis

make sure mailx is installed
https://superuser.com/questions/369758/how-to-install-mail

snippet in your /etc/fail2ban/jail.local
[ssh-iptables] enabled = true filter = sshd action = iptables[name=SSH, port=ssh, protocol=tcp] mail[name=ssh, dest=my-address@gmail.com] logpath = /var/log/secure maxretry = 5
ref: https://stackoverflow.com/questions/25890510/fail2ban-not-sending-email-notifications

 

gstlouis
vote
2017-06-08 07:37:20