I think the issue is caused by this line:

journalmatch = _SYSTEMD_UNIT=postfix.service

in this file: /etc/fail2ban/filter.d/postfix.conf

this was changed in fail2ban version 1.1.0 to:

journalmatch = _SYSTEMD_UNIT=postfix.service
_SYSTEMD_UNIT=postfix@-.service

root cause of that issue: Fail2Ban is with the old entry not able to read 
postfix logfiles.
Overwrite your postfix.conf file with the lastest version from github:
https://github.com/fail2ban/fail2ban/blob/master/config/filter.d/postfix.conf

Will fix this issue

Details about this bug can be found here:
https://github.com/fail2ban/fail2ban/pull/3692

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085663

Title:
  fail2ban postfix filters do not work in 24.04.1 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fail2ban/+bug/2085663/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to