I have configured fail2ban to send me a mail when it bans an IP, but it is not working. I get a message when the jails start and stop but nothing else . I am using ssmtp to send mail via Google Mail.
This is my jail.local.
In the jail.conf file Look for the line:
and change it to