X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/7ef88aa0c4c0608ee54ed2ff90b4b34c518d9bb5..e3c771232d4f02c907c5ac7bb037c67a7dd63c8b:/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