type on master.cf.tmpl
This commit is contained in:
parent
0c2a47a79a
commit
af0b9e3dac
@ -1,5 +1,5 @@
|
|||||||
{{range $mailhosts := split (getenv "MAILHOSTS") ";"}}
|
{{range $mailhosts := split (getenv "MAILHOSTS") ";"}}
|
||||||
{{$values := split ($admin_value) ":"}}
|
{{$values := split ($mailhosts) ":"}}
|
||||||
{{index $values 0}}:smtp inet n - - - - smtpd
|
{{index $values 0}}:smtp inet n - - - - smtpd
|
||||||
-o myhostname={{index $values 1}}
|
-o myhostname={{index $values 1}}
|
||||||
-o smtpd_tls_key_file=/etc/ssl/mail/{{index $values 1}}/privkey.pem
|
-o smtpd_tls_key_file=/etc/ssl/mail/{{index $values 1}}/privkey.pem
|
||||||
|
Loading…
Reference in New Issue
Block a user