Configure Fail2ban to block SASL login failed attempts in Postfix
From MyWiki
Ref - https://bobcares.com/blog/fail2ban-postfix-sasl/
Add the following section in the jail.local file.
[sasl] enabled = true port = smtp filter = postfix-sasl logpath = /var/log/mail.log maxretry = 5
We need to configure Fail2Ban filter for postfix authentication failures in /etc/fail2ban/filter.d/postfix-sasl.conf