Open Jaymon opened 8 years ago
Below is from a blog post I found, worth adding support for?
filters I have installed me in Fail2Ban.
The filter (/etc/fail2ban/filter.d/postfix.conf)
[Definition] failregex = warning: (. *) \ [<HOST> \]: SASL LOGIN authentication failed: authentication failure reject: RCPT from \ [<HOST> \] (*.): 554 5.1.1 reject: RCPT from \ [<HOST> \] (*.): 450 4.7.1 reject: RCPT from \ [<HOST> \] (*.): 554 5.7.1 ignoreregex =
The configuration (/etc/fail2ban/jail.conf)
[Postfix] enabled = true port = smtp, ssmtp filter = postfix logpath = / var / log / mail.log bantime = 6000 maxretry = 5
Then "restart fail2ban"
via
This guide was recommended by this other guide
Below is from a blog post I found, worth adding support for?
filters I have installed me in Fail2Ban.
The filter (/etc/fail2ban/filter.d/postfix.conf)
The configuration (/etc/fail2ban/jail.conf)
Then "restart fail2ban"
via