Taint: fix verify. Bug 2598
[users/heiko/exim.git] / test / scripts / 0000-Basic / 0591
1 # verify = sender=address
2 #
3 # pass
4 exim -DOPT=userx@test.ex -bh 127.0.0.1
5 mail from:<userx@test.ex>
6 rcpt to:<userx@test.ex>
7 data
8 From: userx@test.ex
9 Subject: testing
10 .
11 QUIT
12 ****
13 # fail
14 exim -DOPT=fail@test.ex -bh 127.0.0.1
15 mail from:<userx@test.ex>
16 rcpt to:<userx@test.ex>
17 QUIT
18 ****
19 # check can use tainted data
20 exim -DOPT='$sender_address/defer_ok' -bh 127.0.0.1
21 mail from:<userx@test.ex>
22 rcpt to:<userx@test.ex>
23 data
24 From: userx@test.ex
25 Subject: testing
26 .
27 QUIT
28 ****
29 no_msglog_check