From 2c769796fb238bf3ad2e01a5cfd7b8f99e7b93fb Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 4 Apr 2024 22:18:08 +0200 Subject: [PATCH] map --- docker-compose/mail-relay/docker-compose.yml.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose/mail-relay/docker-compose.yml.j2 b/docker-compose/mail-relay/docker-compose.yml.j2 index e6c4bb08..a915e0fa 100644 --- a/docker-compose/mail-relay/docker-compose.yml.j2 +++ b/docker-compose/mail-relay/docker-compose.yml.j2 @@ -15,7 +15,9 @@ services: ALWAYS_ADD_MISSING_HEADERS: "no" # literal # LOG_SUBJECT: "yes" # literal INET_PROTOCOL: ipv4 - #SMTP_GENERIC_MAP: "/.*/ info@mgrote.net" # deactivated; dont overwrite sender + SMTP_GENERIC_MAP: | + /^From:.*nobody@lldap/ REPLACE From: lldap@mgrote.net + # "/.*/ info@mgrote.net" # deactivated; dont overwrite sender networks: - mail-relay healthcheck: