Bug 2426440 - fail2ban does not work with dovecot-2.4 logs
Summary: fail2ban does not work with dovecot-2.4 logs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fail2ban
Version: 43
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-31 10:00 UTC by Kim Bisgaard
Modified: 2026-01-09 17:21 UTC (History)
3 users (show)

Fixed In Version: fail2ban-1.1.0-15.fc43
Clone Of:
Environment:
Last Closed: 2026-01-09 17:21:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.