#!/bin/sh

set -eu

sitezone="$1"

cfg_script="$0"
cfg_srcdir=$(cd -- "${cfg_script%/*}/" ; pwd -P)

source /root/config/private/config/hostinfo/${sitezone}

sed -e 's/@mailhost@/'"${mailhost}"'/g' \
	"${cfg_srcdir}/header_checks_submission.in"
