Handle quoted local_part input to ${srs_encode }. Bug 2607
[exim.git] / test / scripts / 4620-SRS / 4620
index 4a126b8b905f9ec6f48552efdc4d0d2833ece0ec..f180142a677a2dcaa696531b8e14c6b285da817b 100644 (file)
@@ -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
 ****
 #