Blame public/fs/etc/postfix/main-cf.sh

root@culturestrings 6d66f2
#!/bin/sh
root@culturestrings 6d66f2
root@culturestrings 6d66f2
set -eu
root@culturestrings 6d66f2
root@culturestrings 0a05a5
sitezone="$1"
root@culturestrings 0a05a5
root@culturestrings 0a05a5
cfg_script="$0"
root@culturestrings 0a05a5
cfg_srcdir=$(cd -- "${cfg_script%/*}/" ; pwd -P)
root@culturestrings 0a05a5
root@culturestrings b0963f
source /root/config/private/config/server.domains
root@culturestrings 0a05a5
source /root/config/private/config/hostinfo/${sitezone}
root@culturestrings 6d66f2
root@culturestrings 2faeb7
sed -e 's/@server_domains@/'"${server_domains}"'/g' \
root@culturestrings 2faeb7
	-e 's/@smtphost@/'"${smtphost}"'/g'          \
root@culturestrings c77c16
	-e 's/@mailing_lists@/'"${mailing_lists}"'/g' \
root@culturestrings 0a05a5
	"${cfg_srcdir}/main.cf.in"