NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Postfix] Move "should not"-sign headers out of Postcow check to always remove them, fixes #1911

66d8f33a
AndrĂ© <[email protected]> 8 years ago
data/conf/postfix/mailcow_anonymize_headers.pcre | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Diff

diff --git a/data/conf/postfix/mailcow_anonymize_headers.pcre b/data/conf/postfix/mailcow_anonymize_headers.pcre
index 1d678ffa..eb3edf7f 100644
--- a/data/conf/postfix/mailcow_anonymize_headers.pcre
+++ b/data/conf/postfix/mailcow_anonymize_headers.pcre
@@ -1,9 +1,9 @@
 if /^\s*Received:.*Authenticated sender.*\(Postcow\)/
 /^\s*Received:.*Authenticated sender:(.+)/
   REPLACE Received: from localhost (localhost [127.0.0.1]) (Authenticated sender:$1
+endif
 /^\s*User-Agent/        IGNORE
 /^\s*X-Enigmail/        IGNORE
 /^\s*X-Mailer/          IGNORE
 /^\s*X-Originating-IP/  IGNORE
 /^\s*X-Forward/         IGNORE
-endif