summaryrefslogtreecommitdiff
path: root/test/scripts/4620-SRS/4620
blob: f180142a677a2dcaa696531b8e14c6b285da817b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# SRS native implementation
#
exim -bd -DSERVER=server -oX 127.0.0.1:PORT_S
****
# Inject a message; will be passed on to remote and queued there
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
****
#
killdaemon