From dd0bf2be1fbe5a47c2a5dfce187f70d396c4827e Mon Sep 17 00:00:00 2001 From: Christian Carstensen Date: Tue, 28 Jul 2020 21:15:21 +0200 Subject: [PATCH] moved system aliases into ldap --- templates/main.cf.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/main.cf.j2 b/templates/main.cf.j2 index 9ad35de..ba70997 100644 --- a/templates/main.cf.j2 +++ b/templates/main.cf.j2 @@ -45,8 +45,7 @@ myorigin = $mydomain mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 {{ postfix.mynetworks|join(' ') }} mydestination = {{ inventory_hostname_short }} {{ inventory_hostname }} localhost {{ postfix.mydestination|join(' ') }} -alias_maps = hash:/etc/aliases -alias_database = hash:/etc/aliases +alias_maps = {{ postfix.virtual_alias_maps }} relayhost = {{ postfix.relayhost }} relay_domains = {{ postfix.relay_domains|join(', ') }}