X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/1d717e1c110562fd6bf28478c79f180cafeba776..4d10782e6dc0928b4b9ac6f3980f71f3b05383f6:/test/scripts/4620-SRS/4620 diff --git a/test/scripts/4620-SRS/4620 b/test/scripts/4620-SRS/4620 index 4a126b8b9..879ac8b4c 100644 --- a/test/scripts/4620-SRS/4620 +++ b/test/scripts/4620-SRS/4620 @@ -7,10 +7,42 @@ 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} {a_test_user@HOSTNAME} {test.ex}} +${srs_encode {mysecret} {"a_test_user"@HOSTNAME} {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 **** # +# Sender which is empty (already a bounce) +exim -be +>${srs_encode {mysecret} {} {test.ex}}< +**** +# killdaemon