浏览代码

[Postfix] Remove authed user from header

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

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

@@ -1,6 +1,6 @@
 if /^\s*Received:.*Authenticated sender.*\(Postcow\)/
 if /^\s*Received:.*Authenticated sender.*\(Postcow\)/
 /^\s*Received:.*Authenticated sender:(.+)/
 /^\s*Received:.*Authenticated sender:(.+)/
-  REPLACE Received: from localhost (localhost [127.0.0.1]) (Authenticated sender:$1
+  REPLACE Received: from localhost (localhost [127.0.0.1])
 endif
 endif
 /^\s*X-Enigmail/        IGNORE
 /^\s*X-Enigmail/        IGNORE
 /^\s*X-Mailer/          IGNORE
 /^\s*X-Mailer/          IGNORE