On Tue, 23 Jul 2024 at 23:06, r.barclay--- via Postfix-users < postfix-users@postfix.org> wrote:
> Hi, > > You could use a custom Fail2Ban regular expression to ban IP addresses > that cause Postfix log entries containing certain domain names. > > See > https://en.wikipedia.org/wiki/Fail2ban > https://fail2ban.readthedocs.io/en/latest/filters.html > > Although most if not all of the IP addresses in that log are in blocking lists - have you tried using some RBLs as an easy solution? For example in main.cf: smtpd_recipient_restrictions = permit_mynetworks ... etc. reject_rbl_client zen.spamhaus.org reject_rbl_client bl.spamcop.net
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org