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