Browse Source

[Postfix] Don't remove authed header from Received
[Compose] New watchdog image

andryyy 6 years ago
parent
commit
9de821c3b0
2 changed files with 3 additions and 3 deletions
  1. 2 2
      data/conf/postfix/anonymize_headers.pcre
  2. 1 1
      docker-compose.yml

+ 2 - 2
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:(.+)/
-  REPLACE Received: from localhost (localhost [127.0.0.1])
+  REPLACE Received: from localhost (localhost [127.0.0.1]) (Authenticated sender:$1
 endif
 /^\s*X-Enigmail/        IGNORE
 /^\s*X-Mailer/          IGNORE

+ 1 - 1
docker-compose.yml

@@ -365,7 +365,7 @@ services:
         - /lib/modules:/lib/modules:ro
 
     watchdog-mailcow:
-      image: mailcow/watchdog:1.50
+      image: mailcow/watchdog:1.51
       # Debug
       #command: /watchdog.sh
       build: ./data/Dockerfiles/watchdog