I still have the same problem; there is neither a ban nor any counting. Here is what I have in /etc/fail2ban/jail.local
[dovecot]
enabled = true
[postfix]
enabled = true
#[postfix-sasl]
#enabled = true
#backend = systemd
#journalmatch = _SYSTEMD_UNIT=postfix@-.service
#port = smtp,465,submission,imap,imaps,pop3,pop3s
[postfix-sasl]
enabled = true
filter = postfix[mode=auth]
port = smtp,submission,imap,imaps,pop3,pop3s
maxretry = 1
bantime = 12h
# incremental banning:
bantime.increment = true
# default factor (causes increment - 1h -> 1d 2d 4d 8d 16d 32d ...):
bantime.factor = 2
# max banning time = 5 week:
bantime.maxtime = 5w
action = %(action_)s
[proftpd]
enabled = true
backend = auto
logpath = /var/log/proftpd/proftpd.log
[sshd]
enabled = true
[webmin-auth]
enabled = true
journalmatch = _SYSTEMD_UNIT=webmin.service
I restart Fail2ban and Firewalld properly. Fail2ban seems to work for other default services, like ProFTP; it works fine there.
I do not receive any errors; everything is applied correctly, but Fail2ban does not ban. There must be something missing or overlooked somewhere.