found 960009 0.11.2-2
This bug is also affecting bullseye. The default postfix instance logs
to _SYSTEMD_UNIT=postfix@-.service, see also
/usr/share/doc/postfix/README.Debian.gz. Changing the journalmatch
accordingly fixes the problem.
Workaround in terms of ansible:
- name: "fix up postfix filter journalmatch (debian)"
lineinfile:
path: /etc/fail2ban/filter.d/postfix.conf
regex: '^journalmatch'
line: 'journalmatch = _SYSTEMD_UNIT=postfix@-.service'
when: ansible_distribution == 'Debian' or ansible_distribution ==
'Ubuntu'
notify: restart fail2ban
Should I submit a patch?