about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2014-02-25 22:26:35 +0000
committerEric Wong <normalperson@yhbt.net>2014-02-25 22:26:35 +0000
commitb5f82d05569c228544f31627a03477f2a464f74f (patch)
treedc3060bb1a75c7ca862f21ba1f84725051da9e04 /t
parent25cc5a69a4a38076ea9e587dfa75165fef2273da (diff)
downloadpublic-inbox-b5f82d05569c228544f31627a03477f2a464f74f.tar.gz
Valid emails should not arrive without a Message-ID.
Diffstat (limited to 't')
-rw-r--r--t/precheck.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/precheck.t b/t/precheck.t
index 6deead98..f9d61d8e 100644
--- a/t/precheck.t
+++ b/t/precheck.t
@@ -38,6 +38,7 @@ sub do_checks {
                         Cc => 'c@example.com',
                         'Content-Type' => 'text/plain',
                         Subject => 'this is a subject',
+                        'Message-ID' => '<MID>',
                 ],
                 body => "hello world\n",
         ));
@@ -51,6 +52,7 @@ sub do_checks {
                         Cc => 'John Doe <c@example.com>',
                         'Content-Type' => 'text/plain',
                         Subject => 'this is a subject',
+                        'Message-ID' => '<MID>',
                 ],
                 body => "hello world\n",
         ));
@@ -64,6 +66,7 @@ sub do_checks {
                         Cc => 'c@example.com',
                         'Content-Type' => 'text/plain',
                         Subject => 'this is a subject',
+                        'Message-ID' => '<MID>',
                 ],
                 body => "hello world\n",
         );