1 # bounce_message_file and warn_message_file
4 Subject: test 1.1 - Default deny message
6 exim -odf -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl b@test.ex
7 Subject: test 1.2 - Specified deny message file
9 exim -odf -DOPT=DIR/aux-fixed/TESTNUM.nonexist.tmpl c@test.ex
10 Subject: test 1.3 - Specified, missing deny message file
12 exim -odf -DOPT=relative_file_path d@test.ex
13 Subject: test 1.4 - Specified, non-absolute
15 exim -odf -DOPT='$acl_m_unset' e@test.ex
16 Subject: test 1.5 - Specified, expansion empty
18 exim -odf -DOPT='DIR/aux-fixed/TESTNUM.$sender_address' f@test.ex
19 Subject: test 1.6 - Specified, expansion tainted
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
25 exim -odf delay_p@test.ex
26 Subject: test 2.1 - Default delay message
28 exim -odf -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl delay_q@test.ex
29 Subject: test 2.2 - Specified delay message file
31 exim -odf -DOPT=DIR/aux-fixed/TESTNUM.nonexist.tmpl delay_r@test.ex
32 Subject: test 2.3 - Specified, missing delay message file
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
37 # Wait past the delay_warning interval
41 exim -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl -M $msg2
43 exim -DOPT=DIR/aux-fixed/TESTNUM.nonexist.tmpl -M $msg3
45 exim -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl -M $msg4