Hi all Long time since dist-upgrade so scratched Jessie and did a clean install to Buster. So far so good, except I can't get f2b mails to work. Configured postfix and everything else works in regards of outgoing mail, except F2B. Spent several hours on this and could use some insights now. Quite straight forward clean install, no additional configuration. Using jail.local for defaults with UFW as action configuration. Currently sshd enabled only for testing purposes. Tried both MTA's, sendmail and mail. No jail start/stop notifications, no jail trigger notification emails. Manually mail -s and /usr/sbin/sendmail works so no issues there. Ideas?
Do you have a default banaction which sends email? What email address do you have set for fail2ban to send from and to? What shows up in mail logs when one of those messages is sent?
Ugh, fatigue I think. Nothing on the logs, that's why I was lost. But yeah, missed a typo. Fixed default action to 'action_mwl' instead, and now it works. Much appreciated for pointing me to the right direction