From ef7d95e82f0d665146107dd35a326a4ce10f7862 Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Fri, 20 Dec 2024 15:44:35 +0100 Subject: [PATCH] add transport_maps functionnality --- templates/main.cf.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/main.cf.j2 b/templates/main.cf.j2 index 3289561..0c443e3 100644 --- a/templates/main.cf.j2 +++ b/templates/main.cf.j2 @@ -50,3 +50,8 @@ smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay smtp_sender_dependent_authentication = yes {% endif %} + +{% if postfix_transport_maps is defined %} +transport_maps = hash:/etc/postfix/transport +smtp_sender_dependent_authentication = yes +{% endif %}