From b5f82d05569c228544f31627a03477f2a464f74f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 25 Feb 2014 22:26:35 +0000 Subject: precheck: require Message-ID to be set Valid emails should not arrive without a Message-ID. --- t/precheck.t | 3 +++ 1 file changed, 3 insertions(+) (limited to 't') 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' => '', ], body => "hello world\n", )); @@ -51,6 +52,7 @@ sub do_checks { Cc => 'John Doe ', 'Content-Type' => 'text/plain', Subject => 'this is a subject', + 'Message-ID' => '', ], 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' => '', ], body => "hello world\n", ); -- cgit v1.2.3-24-ge0c7