My fail2ban setup works perfectly except it refuses to send mail to me.
I use sendmail and anything going to root is aliased to my email address. I know it works, because Logwatch send me mail every day and if I create a mail to root@localhost it arrives in my mailbox so ergo, it's something to do with fail2ban.
I've set jail.local.conf
destemail = root@localhost
sender = root@localhost
sendername = Fal2Ban
mta = mail (I've also tried mta = sendmail)
action = %(action_mwl)s
I've even tried logging in as root, but still no mail.
Can anyone spot where I've boobed?
I use sendmail and anything going to root is aliased to my email address. I know it works, because Logwatch send me mail every day and if I create a mail to root@localhost it arrives in my mailbox so ergo, it's something to do with fail2ban.
I've set jail.local.conf
destemail = root@localhost
sender = root@localhost
sendername = Fal2Ban
mta = mail (I've also tried mta = sendmail)
action = %(action_mwl)s
I've even tried logging in as root, but still no mail.
Can anyone spot where I've boobed?