From: Philipp Takacs Date: Sat, 31 Oct 2015 14:52:31 +0000 (+0100) Subject: test if aliasing work in spost X-Git-Tag: mmh-0.2~9 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=6ce9606eeec3c7050ad8fe6182d64bd1694bb422;hp=eb0c1c4bfb574bf724379a3714359c69c83826e3 test if aliasing work in spost --- diff --git a/test/tests/spost/test-alias b/test/tests/spost/test-alias new file mode 100644 index 0000000..7705c6f --- /dev/null +++ b/test/tests/spost/test-alias @@ -0,0 +1,42 @@ +# 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" < +Aliasfile: $alias +! +cd - >/dev/null +export MMHP="$profile" + +cat > "$alias" < +bob: Bob +! +# to + cc headers + +cat >"$draft" < +To: Alice +Date: Sun, 25 Oct 2015 18:59:56 +0100 +Subject: Test alias in to and from + +foo +----EOM---- +alice@example.com +!