Restore expansion of "inlist" RHS
[exim.git] / test / scripts / 0000-Basic / 0608
1 # bounce_message_file and warn_message_file
2 #
3 exim -odf a@test.ex
4 Subject: test 1.1 - Default deny message
5 ****
6 exim -odf -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl       b@test.ex
7 Subject: test 1.2 - Specified deny message file
8 ****
9 exim -odf -DOPT=DIR/aux-fixed/TESTNUM.nonexist.tmpl     c@test.ex
10 Subject: test 1.3 - Specified, missing deny message file
11 ****
12 exim -odf -DOPT=relative_file_path                      d@test.ex
13 Subject: test 1.4 - Specified, non-absolute
14 ****
15 exim -odf -DOPT='$acl_m_unset'                          e@test.ex
16 Subject: test 1.5 - Specified, expansion empty
17 ****
18 exim -odf -DOPT='DIR/aux-fixed/TESTNUM.$sender_address' f@test.ex
19 Subject: test 1.6 - Specified, expansion tainted
20 ****
21 exim -odf -DOPT='${if ={0}{0} {DIR/aux-fixed/TESTNUM.bounce.tmpl}{bad}}' g@test.ex
22 Subject: test 1.7 - Specified, expansion good
23 ****
24 #
25 exim -odf delay_p@test.ex
26 Subject: test 2.1 - Default delay message
27 ****
28 exim -odf -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl                       delay_q@test.ex
29 Subject: test 2.2 - Specified delay message file
30 ****
31 exim -odf -DOPT=DIR/aux-fixed/TESTNUM.nonexist.tmpl                     delay_r@test.ex
32 Subject: test 2.3 - Specified, missing delay message file
33 ****
34 exim -odf -DOPT='${if ={0}{0} {DIR/aux-fixed/TESTNUM.bounce.tmpl}{bad}}' delay_s@test.ex
35 Subject: test 2.7 - Specified, expansion good
36 ****
37 # Wait past the delay_warning interval
38 sleep 3
39 exim -M $msg1
40 ****
41 exim -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl -M $msg2
42 ****
43 exim -DOPT=DIR/aux-fixed/TESTNUM.nonexist.tmpl -M $msg3
44 ****
45 exim -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl -M $msg4
46 ****
47 #sleep 1
48 #
49 #
50 no_msglog_check