浏览代码

[Postfix] Fix anonymize headers...

andryyy 6 年之前
父节点
当前提交
b5d169cf90
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data/conf/postfix/anonymize_headers.pcre

+ 1 - 1
data/conf/postfix/anonymize_headers.pcre

@@ -1,7 +1,7 @@
 if /^\s*Received:.*Authenticated sender.*\(Postcow\)/
 #/^Received: from .*? \([\w-.]* \[.*?\]\)\s+\(Authenticated sender: (.+)\)\s+by.+\(Postcow\) with (E?SMTPS?A?) id ([A-F0-9]+).+;.*?/
 /^Received: from .*? \([\w-.]* \[.*?\]\)(.*|\n.*)\(Authenticated sender: (.+)\)\s+by.+\(Postcow\) with (.*)/
-  REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with $2
+  REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with $3
 endif
 /^\s*X-Enigmail/        IGNORE
 /^\s*X-Mailer/          IGNORE