Subversion Repositories configs

Rev

Rev 71 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
# Fail2Ban filter for selected Postfix SMTP rejections
2
#
3
#
4
 
5
[INCLUDES]
6
 
7
# Read common prefixes. If any customizations available -- read them from
8
# common.local
9
before = common.conf
10
 
11
[Definition]
12
 
87 - 13
_daemon = postfix(-\w+)?/(?:submission/|smtps/)?smtp[ds]
4 - 14
 
15
failregex = ^%(__prefix_line)sNOQUEUE: reject: RCPT from \S+\[<HOST>\]: 554 5\.7\.1 .*$
34 - 16
            ^%(__prefix_line)sNOQUEUE: reject: RCPT from \S+\[<HOST>\]: 450 4\.7\.1 Client host rejected: cannot find your hostname, (\[\S*\]); from=<\S*> to=<\S+> proto=ESMTP helo=<\S*>$
4 - 17
            ^%(__prefix_line)sNOQUEUE: reject: RCPT from \S+\[<HOST>\]: 450 4\.7\.1 : Helo command rejected: Host not found; from=<> to=<> proto=ESMTP helo= *$
71 - 18
            ^%(__prefix_line)sNOQUEUE: reject: EHLO from \S+\[<HOST>\]: 504 5\.5\.2 <\S+>: Helo command rejected: need fully-qualified hostname;
4 - 19
            ^%(__prefix_line)sNOQUEUE: reject: VRFY from \S+\[<HOST>\]: 550 5\.1\.1 .*$
71 - 20
            ^%(__prefix_line)sNOQUEUE: reject: RCPT from \S+\[<HOST>\]: 450 4\.1\.8 <\S*>: Sender address rejected: Domain not found; from=<\S*> to=<\S+> proto=ESMTP helo=<\S*>$
5 - 21
            ^%(__prefix_line)simproper command pipelining after \S+ from [^[]*\[<HOST>\]:?$
4 - 22
 
23
ignoreregex =
24
 
34 - 25
[Init]
26
 
27
journalmatch = _SYSTEMD_UNIT=postfix.service
28
 
4 - 29
# Author: Cyril Jaquier