Postgrey

From Fail2ban
Jump to navigationJump to search

Postgrey is a free software / open source Postfix policy server implementing greylisting.



  • ???


Failregex

The regular expressions below are proposed failregex for this software. Multiple regular expressions for failregex will only work with a version of Fail2ban greater than or equal to 0.7.6.

The tag <HOST> in the regular expressions below is just an alias for (?:::f{4,6}:)?(?P<host>\S+). The replacement is done automatically by Fail2ban when adding the regular expression. At the moment, exactly one named group host or <HOST> tag must be present in each regular expression.

Please, before editing this section, propose your changes in the discussion page first.


failregex = reject: RCPT from (.*)\[<HOST>\]: 450.*Greylisted

Please note : the default maxretry parameter (3) should be increased (7 seems to be reasonable).