header_checks_auth.pcre abändern so das die restlichen Zeilen von "Received:" wieder angehängt werden
This commit is contained in:
parent
52eced5c76
commit
65eae70522
|
@ -79,11 +79,11 @@ test
|
|||
<pre>
|
||||
if /^Received:/
|
||||
#ipv6+thunderbird
|
||||
/\s+from\s+\[IPv6:2a00:1828:a008:103:[\dA-F:]+\]\s+\(unknown\s\[IPv6:2a00:1828:a008:103:[\dA-F:]+\]\)/ REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1])
|
||||
/\s+from\s+\[IPv6:2a00:1828:a008:103:[\dA-F:]+\]\s+\(unknown\s\[IPv6:2a00:1828:a008:103:[\dA-F:]+\]\)(.*)/ REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1])$1
|
||||
#ipv6+mutt
|
||||
/\s+from\s+[[:alpha:][:digit:]]+\.example\.com\s+\(unknown\s\[IPv6:2a00:1828:a008:103:[\dA-F:]+\]\)/ REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1])
|
||||
/\s+from\s+[[:alpha:][:digit:]]+\.example\.com\s+\(unknown\s\[IPv6:2a00:1828:a008:103:[\dA-F:]+\]\)(.*)/ REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1])$1
|
||||
#ipv4
|
||||
/\s+from\s+\[[.[:digit:]]{7,15}]\s+\([^)][[:alpha:][:digit:]]+\.example\.com\s\[192\.[.[:digit:]]{5,11}\]\)/ REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1])
|
||||
/\s+from\s+\[[.[:digit:]]{7,15}]\s+\([^)][[:alpha:][:digit:]]+\.example\.com\s\[192\.[.[:digit:]]{5,11}\]\)(.*)/ REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1])$1
|
||||
#print info on EVERY RECEIVED line
|
||||
#/\s+/ INFO "Received found"
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue