diff options
Diffstat (limited to 'files/postfix')
-rw-r--r-- | files/postfix/header_checks | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/files/postfix/header_checks b/files/postfix/header_checks index 51b3168..d666512 100644 --- a/files/postfix/header_checks +++ b/files/postfix/header_checks @@ -1 +1,2 @@ -/^Received: from (.* \([-._[:alnum:]]+ \[[.[:digit:]]{7,15}\]\)).*\(Authenticated sender: ([^)]+)\).*by ([^)]+) \(([^)]+)\) with (E?SMTP) id ([A-F[:digit:]]+).*/ REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: $2) with $5 id $6 +/^Received: from (.* \([-._[:alnum:]]+ \[[.[:digit:]]{7,15}\]\)).*?([[:space:]]+).*\(Authenticated sender: ([^)]+)\).*by ([^)]) \(([^)]+)\) with (E?SMTPS?A?) id ([A-F[:digit:]]+).*/ + REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1])$2(Authenticated sender: $3)${2}with $6 id $7 |