1 # SRS native implementation
3 exim -bd -DSERVER=server -oX 127.0.0.1:PORT_S
5 # Inject a message; will be passed on to remote and queued there
6 exim -odi redirect@test.ex
9 # Run the queue for the remote, will generate bounce which is queued
10 exim -DCONTROL=remote -q
12 # Run the queue for the remote, will send bounce to origin
13 exim -DCONTROL=remote -q
15 # Run the queue for the local, will process the bounce
22 # Sender with quoted local_part:
25 ${srs_encode {mysecret} {a_test_user@HOSTNAME} {test.ex}}
26 ${srs_encode {mysecret} {"a_test_user"@HOSTNAME} {test.ex}}
29 # Inject a message; will be passed on to remote and queued there
30 sudo exim -odi -f '"fred["@test.ex' redirect@test.ex
33 # Run the queue for the remote, will generate bounce which is queued
34 exim -DCONTROL=remote -q
36 # Run the queue for the remote, will send bounce to origin
37 exim -DCONTROL=remote -q
39 # Run the queue for the local, will process the bounce
43 # Sender which is empty (already a bounce)
45 >${srs_encode {mysecret} {} {test.ex}}<