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: