summaryrefslogtreecommitdiff
path: root/test/scripts/4620-SRS
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-06-24 00:04:13 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-06-24 15:23:33 +0100
commitbec94709e708f087fe7fa456bec95d4e63edc3ed (patch)
treeff17ef17917c21e12e023a58244dbdae4ec3f135 /test/scripts/4620-SRS
parent99bfcf2b678e7bd8125a7eb44409e46549bfc111 (diff)
Handle quoted local_part input to ${srs_encode }. Bug 2607
Diffstat (limited to 'test/scripts/4620-SRS')
-rw-r--r--test/scripts/4620-SRS/462027
1 files changed, 27 insertions, 0 deletions
diff --git a/test/scripts/4620-SRS/4620 b/test/scripts/4620-SRS/4620
index 4a126b8b9..f180142a6 100644
--- a/test/scripts/4620-SRS/4620
+++ b/test/scripts/4620-SRS/4620
@@ -7,9 +7,36 @@ exim -odi redirect@test.ex
Message body
****
# Run the queue for the remote, will generate bounce which is queued
+exim -DCONTROL=remote -q
+****
+# Run the queue for the remote, will send bounce to origin
+exim -DCONTROL=remote -q
+****
+# Run the queue for the local, will process the bounce
exim -q
****
+#
+#
+#
+#
+# Sender with quoted local_part:
+#
+exim -be
+${srs_encode {mysecret} {eximtest@lap.dom.ain} {test.ex}}
+${srs_encode {mysecret} {"eximtest"@lap.dom.ain} {test.ex}}
+****
+#
+# Inject a message; will be passed on to remote and queued there
+sudo exim -odi -f '"fred["@test.ex' redirect@test.ex
+Message body
+****
+# Run the queue for the remote, will generate bounce which is queued
+exim -DCONTROL=remote -q
+****
# Run the queue for the remote, will send bounce to origin
+exim -DCONTROL=remote -q
+****
+# Run the queue for the local, will process the bounce
exim -q
****
#