Hello, here my jail.conf:
[postfix]
filter = postfix[mode=auth]
enabled = true
port = smtp,submission,imap,imaps,pop3,pop3s
logpath = %(postfix_log)s
banaction = nftables
banaction_allports = nftables[type=allports]
chain = input
[postfix-rbl]
enabled = true
filter = postfix[mode=rbl]
port = smtp,submission,imap,imaps,pop3,pop3s
banaction = nftables
banaction_allports = nftables[type=allports]
chain = input
[postfix-sasl]
enabled = true
filter = postfix[mode=auth]
port = smtp,submission,imap,imaps,pop3,pop3s
maxretry = 2
bantime = 12h
bantime.increment = true
bantime.factor = 2
bantime.maxtime = 5w
action = %(action_)s
banaction = nftables
banaction_allports = nftables[type=allports]
chain = input
But something went wrong ;(
sudo fail2ban-client restart postfix
2025-10-13 09:03:47,077 fail2ban [10372]: ERROR NOK: ('postfix',)
Sorry but the jail 'postfix' does not exist
[postfix]
filter = postfix[mode=auth]
enabled = true
port = smtp,submission,imap,imaps,pop3,pop3s
logpath = %(postfix_log)s
banaction = nftables
banaction_allports = nftables[type=allports]
chain = input
[postfix-rbl]
enabled = true
filter = postfix[mode=rbl]
port = smtp,submission,imap,imaps,pop3,pop3s
banaction = nftables
banaction_allports = nftables[type=allports]
chain = input
[postfix-sasl]
enabled = true
filter = postfix[mode=auth]
port = smtp,submission,imap,imaps,pop3,pop3s
maxretry = 2
bantime = 12h
bantime.increment = true
bantime.factor = 2
bantime.maxtime = 5w
action = %(action_)s
banaction = nftables
banaction_allports = nftables[type=allports]
chain = input
But something went wrong ;(
sudo fail2ban-client restart postfix
2025-10-13 09:03:47,077 fail2ban [10372]: ERROR NOK: ('postfix',)
Sorry but the jail 'postfix' does not exist

