Environment: Fedora 33, fail2ban-0.11.2-1.fc33.noarch

I have had to work around the following error found in the fail2ban.log:

Jail 'sendmail-auth' started
2021-01-18 08:36:47,945 fail2ban.filter         [38540]: WARNING [sendmail-auth] Simulate NOW in operation since found time has too large deviation 1610976475.254356 ~ 1610> 2021-01-18 08:36:47,945 fail2ban.filter         [38540]: WARNING [sendmail-auth] Please check jail has possibly a timezone issue. Line with odd timestamp: ....

This has occurred on a few of the jails but let's focus on one - sendmail-auth in jails.local

[sendmail-auth]

enabled = true
port    = submission,465,smtp,59025
logpath = %(syslog_mail)s
#backend = %(syslog_backend)s

To make this jail successfully start I had to comment out the following backend and in paths-fedora.conf comment out the following:
#syslog_backend = systemd
#sshd_backend = systemd
dropbear_backend = systemd
proftpd_backend = systemd
pureftpd_backend = systemd
wuftpd_backend = systemd
postfix_backend = systemd
#dovecot_backend = systemd

I do realize for the purposes of this example dovecot and sshd are not relevant to the sendmail-auth issue

Additionally, I have in jail.conf:
[INCLUDES]

#before = paths-distro.conf
before = paths-fedora.conf

and

backend = auto

The bottom line is that I am unsure why I had to employ this workaround.  Anyone have a clue why I had to essentially eliminate backend?




_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to