aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/postfix/templates/main.cf.j26
1 files changed, 5 insertions, 1 deletions
diff --git a/ansible/roles/postfix/templates/main.cf.j2 b/ansible/roles/postfix/templates/main.cf.j2
index 1cc1880..81f566b 100644
--- a/ansible/roles/postfix/templates/main.cf.j2
+++ b/ansible/roles/postfix/templates/main.cf.j2
@@ -65,7 +65,11 @@ relay_recipient_maps =
ldap:/etc/postfix/ldap-service-mail.cf,
hash:/etc/postfix/virtual
-local_recipient_maps = $relay_recipient_maps
+local_recipient_maps =
+ $relay_recipient_maps,
+ hash:/etc/postfix/transport
+
+transport_maps = hash:/etc/postfix/transport
mydestination = {{ postfix_mailserver_name }}, localhost, {{ postfix_destination_domains | join(', ') }}
relayhost =