Difference between revisions of "Postfix"

From Fail2ban
Jump to navigationJump to search
Line 13: Line 13:
  
  
<div style="padding: 1em;border: 1px dashed #2f6fab;color: black;background-color: #f9f9f9;line-height: 1.1em;">
+
<pre>
 
failregex = reject: RCPT from (.*)\[<HOST>\]: 550 5.1.1
 
failregex = reject: RCPT from (.*)\[<HOST>\]: 550 5.1.1
 
             reject: RCPT from (.*)\[<HOST>\]: 450 4.7.1
 
             reject: RCPT from (.*)\[<HOST>\]: 450 4.7.1
 
             reject: RCPT from (.*)\[<HOST>\]: 554 5.7.1
 
             reject: RCPT from (.*)\[<HOST>\]: 554 5.7.1
 
+
</pre>
</div>
 
  
 
[[Category:MTA]]
 
[[Category:MTA]]

Revision as of 07:51, 30 May 2007

Postfix is a free software / open source mail transfer agent (MTA), a computer program for the routing and delivery of email. It is intended as a fast, easy-to-administer, and secure alternative to the widely-used Sendmail MTA.

From Wikipedia, the free encyclopedia



  • ???


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>\]: 550 5.1.1
            reject: RCPT from (.*)\[<HOST>\]: 450 4.7.1
            reject: RCPT from (.*)\[<HOST>\]: 554 5.7.1