fail2ban / ldap login failure
5 Aug
2023
5 Aug
'23
12:12 a.m.
[Debian Bookworm + Dovecot 2] I have user database in ldap (samba). I want to use fail2ban to restrict unsuccessful login attempts, but... I cannot see "Authentication failure" message in ANY log. (/var/log/mail.log shows successful logins as well as disconnects.) How should I proceed?
5 Aug
5 Aug
12:37 p.m.
I have user database in ldap (samba). I want to use fail2ban to restrict unsuccessful login attempts, but... I cannot see "Authentication failure" message in ANY log. (/var/log/mail.log shows successful logins as well as disconnects.) How should I proceed?
Check your dovecot.log
dovecot: imap-login: Aborted login (auth failed, 2 attempts in 4 secs): user=<xxxxxxx>, rip=xxxxxxxx
463
Age (days ago)
464
Last active (days ago)
1 comments
2 participants
participants (2)
-
Marc
-
micha@micha.waw.pl