use image for multiple hosts
This commit is contained in:
parent
4e68d2fa39
commit
71c8f5eb86
@ -1,6 +1,8 @@
|
|||||||
{{getenv "MYDOMAIN"}}-out unix - - - - - smtp
|
{{range $mailhost := split (getenv "MAILHOSTS") ","}}
|
||||||
-o smtp_helo_name={{getenv "MYHOSTNAME"}}
|
{{$mailhost}}-out unix - - - - - smtp
|
||||||
-o syslog_name=postfix/smtp-{{getenv "MYHOSTNAME"}}
|
-o smtp_helo_name={{$mailhost}}
|
||||||
|
-o syslog_name=postfix-{{$mailhost}}
|
||||||
|
{{end}}
|
||||||
|
|
||||||
submission inet n - - - - smtpd
|
submission inet n - - - - smtpd
|
||||||
-o syslog_name=postfix/submission
|
-o syslog_name=postfix/submission
|
||||||
|
@ -1 +1,3 @@
|
|||||||
@{{getenv "MYDOMAIN"}} {{getenv "MYDOMAIN"}}-out
|
{{range $mailhost := split (getenv "MAILHOSTS") ","}}
|
||||||
|
@{{$mailhost}} {{$mailhost}}-out
|
||||||
|
{{end}}
|
||||||
|
Loading…
Reference in New Issue
Block a user