Fix negated dnslists item bug; add == and =& features, courtesy Brad
[exim.git] / test / scripts / 0000-Basic / 0542
index 90645d74684044ff3d87e20119095e4424fca25d..da2b9e7684722be5b66579f5c1665a5a6d30662b 100644 (file)
@@ -1,5 +1,5 @@
-# -Mset
-exim userx@test.x usery@test.ex
+# -Mset and -bem
+exim -f userz@test.ex -oMt userz userx@test.x usery@test.ex
 From: Himself <himself@there.tld>
 To: Yourself <you@here.tld>
 Subject: The subject is not the object
@@ -13,5 +13,35 @@ message_body_size=$message_body_size
 message_size=$message_size
 message_id=$message_id
 message_exim_id=$message_exim_id
+recipients=$recipients
+****
+write test-data
+From: A Person <a.person@a.domain.tld>
+To: First <first@test.ex>, Second <second@test.ex>
+Subject: The subject is moot
+
+And now we have the body of the message,
+containing a small number of lines.
+****
+exim -bem DIR/test-data
+from: $h_from:
+to: $h_to:
+subject: $h_subject:
+message_size=$message_size
+message_body_size=$message_body_size
+message_exim_id=$message_exim_id
+message_linecount=$message_linecount
+message_body_linecount=$body_linecount
+headers -----------------
+$message_headers
+
+body --------------------
+$message_body
+
+body end ----------------
+$message_body_end
+****
+exim -bem DIR/test-data -t
+recipients=$recipients
 ****
 no_msglog_check