From af0b9e3dac390b11dce02ed6a47f385fa192f5b8 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 6 Jul 2016 11:47:13 +0200 Subject: [PATCH] type on master.cf.tmpl --- rootfs/etc/confd/templates/master.cf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/confd/templates/master.cf.tmpl b/rootfs/etc/confd/templates/master.cf.tmpl index 907a738..79b6966 100644 --- a/rootfs/etc/confd/templates/master.cf.tmpl +++ b/rootfs/etc/confd/templates/master.cf.tmpl @@ -1,5 +1,5 @@ {{range $mailhosts := split (getenv "MAILHOSTS") ";"}} -{{$values := split ($admin_value) ":"}} +{{$values := split ($mailhosts) ":"}} {{index $values 0}}:smtp inet n - - - - smtpd -o myhostname={{index $values 1}} -o smtpd_tls_key_file=/etc/ssl/mail/{{index $values 1}}/privkey.pem