#!/bin/sh

set -eu

source /root/config/private/config/server.domains
source /root/config/private/config/hostname

sed -e 's/@server_domains@/'"${server_domains}"'/g' \
	-e 's/@smtphost@/'"${smtphost}"'/g'          \
	"$1"
