summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-09-08 23:05:20 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-09-08 23:05:20 +0100
commitf38917cc94ab337c15ff70c254dd564ee2dcafe7 (patch)
tree616248bb073b2883f74896ad0ef2bc07a063a770 /test/scripts
parent5980e62829e10336b008f861c938bfca799d488a (diff)
Capture substrings in ACL regex= . Bug 425.
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/056838
1 files changed, 38 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0568 b/test/scripts/0000-Basic/0568
new file mode 100644
index 000000000..a660f6805
--- /dev/null
+++ b/test/scripts/0000-Basic/0568
@@ -0,0 +1,38 @@
+# ACL regex= test
+#
+# These tests are copies from testcase 4000;
+# they should be removed from there but I don't
+# run spamassassin so can't verify the change.
+#
+exim -odi -bs
+ehlo test.ex
+mail from:<>
+rcpt to:<userx@test.ex>
+data
+From: Test person <tp@cam.ac.uk>
+To: Me <userx@test.ex>
+Subject: A real test message
+Date: Fri, 17 Dec 2004 16:13:04 +0100
+Message-ID: <41C2F849.3060203@projectile.test.ex>
+
+OK, this should look like a genuine message.
+.
+quit
+****
+exim -odi -bs
+ehlo test.ex
+mail from:<>
+rcpt to:<userx@test.ex>
+data
+From: Test person <tp@cam.ac.uk>
+To: Me <userx@test.ex>
+Subject: A real test message
+Date: Fri, 17 Dec 2004 16:13:04 +0100
+Message-ID: <41C2F849.3060203@projectile.test.ex>
+FakeReject: test fakereject
+
+OK, this should look like a genuine message, but
+it will trip on THIS gazornenplaz REGEX.
+.
+quit
+****