diff options
author | 2024-08-03 22:56:28 +0100 | |
---|---|---|
committer | 2024-08-03 22:56:28 +0100 | |
commit | 69b3172cb9821201e2177978512ef4ad56f0630a (patch) | |
tree | 2dbac9e796ac95b2ac527c221a445d8587e249a8 /ansible | |
parent | Only allow service mail to be received to int.pydis.wtf addresses (diff) |
Copy relay_recipient_maps for local_recipient_maps
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/roles/postfix/templates/main.cf.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/postfix/templates/main.cf.j2 b/ansible/roles/postfix/templates/main.cf.j2 index 82e6772..9c99715 100644 --- a/ansible/roles/postfix/templates/main.cf.j2 +++ b/ansible/roles/postfix/templates/main.cf.j2 @@ -63,6 +63,8 @@ relay_recipient_maps = ldap:/etc/postfix/ldap-service-mail.cf, hash:/etc/postfix/virtual +local_recipient_maps = $relay_recipient_maps + mydestination = {{ postfix_mailserver_name }}, localhost, {{ postfix_destination_domains | join(', ') }} relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 |