#### Rely on sendmail/smtp or sendmail/pipe below to override default mts.
mts_fakesendmail="${MHMTSCONF}-fakesendmail"
cp "${MHMTSCONF}" "$mts_fakesendmail"
-printf "%s\n" "sendmail: ${srcdir}/test/fakesendmail" >>"$mts_fakesendmail"
+printf "sendmail: ${srcdir}/test/fakesendmail\n" >>"$mts_fakesendmail"
MHMTSCONF="$mts_fakesendmail"
-# $1: option switches for send
+# $1: -mts switch selection
# remaining arguments: expected output(s)
test_sendmail ()
{
EOF
cat > "${testname}.expected2" <<EOF
+From: Mr Nobody <nobody@example.com>
Date:
Subject: Test