Manage fail2ban notifications
Allow to enable/disable email notifications from Fail2ban. A toggle in Tools&Settings > Fail2Ban > Jails > Per jail setting; or global at Tools&Settings > Fail2Ban > Settings.
As of now, this is not possible even from CLI.
1
vote
![](https://secure.gravatar.com/avatar/1b657e589df59cbf88089447b430c73d?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Upd: Sorry, we are closing the request as no information were provided for over a month.
—
IG
-
EhudZ commented
Hi,
In Fail2Ban, what worked for me was adding second line under action =....
to be:
```
sendmail[mailcmd='/usr/sbin/sendmail -f "<sender>" "<dest>"', dest="email@recipient.com", sender="fail2ban", sendername="Fail2Ban", name="jail_name"]
```Note: You may do so for various jails.