From 193eb10252f59f8fcda6ad7968f857ba54d91ce8 Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Sat, 13 Jun 2020 13:55:01 -0300 Subject: [PATCH] disable NIS alias lookup --- confd/templates/setup_main.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/confd/templates/setup_main.tmpl b/confd/templates/setup_main.tmpl index ccf353c..fa430be 100644 --- a/confd/templates/setup_main.tmpl +++ b/confd/templates/setup_main.tmpl @@ -32,6 +32,7 @@ # postconf -a|-A|-l|-m [-v] [-c config_dir] postconf maillog_file=/dev/stdout +postconf alias_maps=hash:/etc/aliases {{ with getv "/mydestination" }}postconf mydestination='{{.}}'{{ end }} {{ with getv "/myhostname" }}postconf myhostname='{{.}}'{{ end }} {{ with getv "/mydomain" }}postconf mydomain='{{.}}'{{ end }}