summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-01-20 20:57:15 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-01-20 21:03:34 +0000
commitcf02e6b2e7178276ea5b4b99448f73a1cdfe0c9e (patch)
treea25c752fbf1ea69cb1d2ed88bac39d64ac1cc263 /test/scripts
parent5032d1cf500b102849d9a47867fbb7b34d871683 (diff)
Testsuite: add testcase for <>-mismatch in To:/From: headers
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/002613
1 files changed, 13 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0026 b/test/scripts/0000-Basic/0026
index 7489cbd74..9d30d2d07 100644
--- a/test/scripts/0000-Basic/0026
+++ b/test/scripts/0000-Basic/0026
@@ -20,6 +20,19 @@ Message 2
.
quit
****
+# Syntax error (version 2) in header => should fail
+exim -odq -bs
+mail from:<x@y>
+rcpt to:<x@y>
+data
+To: <dummy@gmail.com
+Subject: incomprehensible
+From: <forged@sender.com
+
+Message 2a
+.
+quit
+****
# Syntax error in header => should fail even with null sender
exim -odq -bs
mail from:<>