Email notification from fail2ban
Email notification from fail2ban
Hello,
How i can i receive email notification from fail2ban installen with vestacp on debian 7?
How i can i receive email notification from fail2ban installen with vestacp on debian 7?
Re: Email notification from fail2ban
shivoham wrote:Hello,
How i can i receive email notification from fail2ban installen with vestacp on debian 7?
Open /etc/fail2ban/jail.conf
In this file you will find something like thisnano /etc/fail2ban/jail.conf
Code: Select all
sendmail-whois[name=SSH, [color=#FF0000][email protected], [email protected][/color], sendername="Fail2Ban"]
Change to [email protected]
You should see a ton of these and you need to edit each one.
Once you have finish that restart fail2ban.
Code: Select all
service fail2ban restart
Re: Email notification from fail2ban
Thank you joem :)