--- /dev/null
+# test spost: bcc and dcc headers
+
+. "$MH_TEST_COMMON"
+
+
+draft="$MH_TEST_DIR/spost-$$.draft"
+alias="$MH_TEST_DIR/spost-$$.alias"
+
+profile="$MMH/profile-spost"
+cd "$MMH"
+cat "`mhparam profile`" - >"$profile" <<!
+default-from: Bob <bob@example.org>
+Aliasfile: $alias
+!
+cd - >/dev/null
+export MMHP="$profile"
+
+cat > "$alias" <<!
+alice: Alice <alice@example.com>
+bob: Bob <bob@example.org>
+!
+# to + cc headers
+
+cat >"$draft" <<!
+From: bob
+To: alice
+Date: Sun, 25 Oct 2015 18:59:56 +0100
+Subject: Test alias in to and from
+----------------
+foo
+!
+
+runandcheck 'spost -debug "$draft"' <<!
+From: Bob <bob@example.org>
+To: Alice <alice@example.com>
+Date: Sun, 25 Oct 2015 18:59:56 +0100
+Subject: Test alias in to and from
+
+foo
+----EOM----
+alice@example.com
+!