From eb431d8da82be1be630901f1f91905da4b2b7348 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 6 Feb 2021 10:24:19 +0100 Subject: [PATCH] bundles/postfix: also set alias_maps fixes "warning: dict_nis_init: NIS domain name not set - NIS lookups disabled" --- bundles/postfix/files/main.cf | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/postfix/files/main.cf b/bundles/postfix/files/main.cf index ddc2efa..56de85e 100644 --- a/bundles/postfix/files/main.cf +++ b/bundles/postfix/files/main.cf @@ -12,6 +12,7 @@ recipient_delimiter = + inet_protocols = all message_size_limit = ${node.metadata.get('postfix', {}).get('message_size_limit_mb', 10)*1024*1024} alias_database = hash:/etc/aliases +alias_maps = hash:/etc/aliases % if 'relayhost' in node.metadata.get('postfix', {}): relayhost = ${node.metadata['postfix']['relayhost']}