summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-10-23 13:24:21 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-10-23 13:24:21 +0000
commit0ef732d996b5f37b28410c5efe132fbbe5c686ef (patch)
treef27aae08d4e42188d6b4bec8ccfd4e765d480a75 /test
parentd1d5595ca2487d927c857a01dcbfe0beab5c8f3d (diff)
John Jetmore's -Mset patch.
Diffstat (limited to 'test')
-rw-r--r--test/confs/054217
-rw-r--r--test/log/05421
-rw-r--r--test/scripts/0000-Basic/054217
-rw-r--r--test/stdout/05427
4 files changed, 42 insertions, 0 deletions
diff --git a/test/confs/0542 b/test/confs/0542
new file mode 100644
index 000000000..7b886eaa1
--- /dev/null
+++ b/test/confs/0542
@@ -0,0 +1,17 @@
+# Exim test configuration 0542
+
+exim_path = EXIM_PATH
+host_lookup_order = bydns
+primary_hostname = myhost.test.ex
+rfc1413_query_timeout = 0s
+spool_directory = DIR/spool
+log_file_path = DIR/spool/log/%slog
+gecos_pattern = ""
+gecos_name = CALLER_NAME
+
+# ----- Main settings -----
+
+queue_only
+
+
+# End
diff --git a/test/log/0542 b/test/log/0542
new file mode 100644
index 000000000..f59faf8b9
--- /dev/null
+++ b/test/log/0542
@@ -0,0 +1 @@
+1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss
diff --git a/test/scripts/0000-Basic/0542 b/test/scripts/0000-Basic/0542
new file mode 100644
index 000000000..90645d746
--- /dev/null
+++ b/test/scripts/0000-Basic/0542
@@ -0,0 +1,17 @@
+# -Mset
+exim userx@test.x usery@test.ex
+From: Himself <himself@there.tld>
+To: Yourself <you@here.tld>
+Subject: The subject is not the object
+
+This is the body of the message.
+****
+sudo exim -be -Mset $msg1
+From: $h_from:
+Subject: $h_subject:
+message_body_size=$message_body_size
+message_size=$message_size
+message_id=$message_id
+message_exim_id=$message_exim_id
+****
+no_msglog_check
diff --git a/test/stdout/0542 b/test/stdout/0542
new file mode 100644
index 000000000..aecedca72
--- /dev/null
+++ b/test/stdout/0542
@@ -0,0 +1,7 @@
+> From: Himself <himself@there.tld>
+> Subject: The subject is not the object
+> message_body_size=33
+> message_size=416
+> message_id=10HmaX-0005vi-00
+> message_exim_id=10HmaX-0005vi-00
+>