Bug 2426440

Summary: fail2ban does not work with dovecot-2.4 logs
Product: [Fedora] Fedora Reporter: Kim Bisgaard <kim-rh>
Component: fail2banAssignee: Richard Shaw <hobbes1069>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: anon.amish, hobbes1069, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: fail2ban-1.1.0-15.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-09 17:21:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kim Bisgaard 2025-12-31 10:00:25 UTC
Since dovecot was updated to 2.4 (for fedora 43) its logging format has changed enough that fail2ban does (silently) not work for dovecot-logs.

I have used the current upstream /etc/fail2ban/filter.d/dovecot.conf which work for 2.4 dovecot

Reproducible: Always




Additional Information:
# rpm -q dovecot fail2ban
dovecot-2.4.1-8.fc43.x86_64
fail2ban-1.1.0-13.fc43.noarch

Comment 1 Richard Shaw 2025-12-31 15:17:49 UTC
I tried pulling the new config into the build but now the internal testing fails so this has become a non-trivial problem.

Comment 2 Kim Bisgaard 2025-12-31 15:25:03 UTC
Bad luck :-(

Comment 3 Fedora Update System 2025-12-31 18:33:46 UTC
FEDORA-2025-5f4437e62e (fail2ban-1.1.0-15.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-5f4437e62e

Comment 4 Fedora Update System 2026-01-01 01:19:08 UTC
FEDORA-2025-5f4437e62e has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-5f4437e62e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-5f4437e62e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Kim Bisgaard 2026-01-01 13:30:23 UTC
I note that the 'mdre-aggressive' has not been corrected. But otherwise all fine from here

Comment 6 Fedora Update System 2026-01-09 17:21:02 UTC
FEDORA-2025-5f4437e62e (fail2ban-1.1.0-15.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.