From 8e25214790a028b823403742f4ce993eb0e82a8d Mon Sep 17 00:00:00 2001 From: Julian Rother Date: Tue, 26 Apr 2022 01:58:30 +0200 Subject: [PATCH] Options recipient_canonical_maps and local_header_rewrite_clients --- defaults/main.yml | 2 ++ templates/main.cf.j2 | 3 +++ 2 files changed, 5 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index 12ca26e..fcf8641 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -45,3 +45,5 @@ postfix: smtpd_milters: [] non_smtpd_milters: [] metrics_address: "127.0.0.1:9154" + recipient_canonical_maps: '' + local_header_rewrite_clients: '' diff --git a/templates/main.cf.j2 b/templates/main.cf.j2 index 606af95..30f190a 100644 --- a/templates/main.cf.j2 +++ b/templates/main.cf.j2 @@ -140,3 +140,6 @@ non_smtpd_milters = {{ ' '.join(postfix.non_smtpd_milters) }} # Disable all error reports to postmaster@, because they sometimes contain # passwords or other confidential information notify_classes = + +recipient_canonical_maps = {{ postfix.recipient_canonical_maps }} +local_header_rewrite_clients = {{ postfix.local_header_rewrite_clients }}