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 }}