use image for multiple hosts
This commit is contained in:
parent
4e68d2fa39
commit
71c8f5eb86
@ -1,6 +1,8 @@
|
||||
{{getenv "MYDOMAIN"}}-out unix - - - - - smtp
|
||||
-o smtp_helo_name={{getenv "MYHOSTNAME"}}
|
||||
-o syslog_name=postfix/smtp-{{getenv "MYHOSTNAME"}}
|
||||
{{range $mailhost := split (getenv "MAILHOSTS") ","}}
|
||||
{{$mailhost}}-out unix - - - - - smtp
|
||||
-o smtp_helo_name={{$mailhost}}
|
||||
-o syslog_name=postfix-{{$mailhost}}
|
||||
{{end}}
|
||||
|
||||
submission inet n - - - - smtpd
|
||||
-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