diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-05-04 16:10:57 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-05-04 16:10:57 +0100 |
commit | 40bffa31bd7057a0e88e29bb76fa63382d4aa1bc (patch) | |
tree | 58b5c625fc31653d67e944862b6541ae42e383c8 /test/scripts/0000-Basic | |
parent | 6f585046cf0b00509f0ff7c8f8a48b9cf7c2ab75 (diff) |
Make {bounce,warn}_message_file expanded. Bug 2522
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r-- | test/scripts/0000-Basic/0622 | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/test/scripts/0000-Basic/0622 b/test/scripts/0000-Basic/0622 index a7c966de5..f3016f2cf 100644 --- a/test/scripts/0000-Basic/0622 +++ b/test/scripts/0000-Basic/0622 @@ -3,22 +3,37 @@ exim -odf a@test.ex Subject: test 1.1 - Default deny message **** -exim -odf -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl b@test.ex +exim -odf -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl b@test.ex Subject: test 1.2 - Specified deny message file **** -exim -odf -DOPT=DIR/aux-fixed/TESTNUM.nonexist.tmpl c@test.ex +exim -odf -DOPT=DIR/aux-fixed/TESTNUM.nonexist.tmpl c@test.ex Subject: test 1.3 - Specified, missing deny message file **** +exim -odf -DOPT=relative_file_path d@test.ex +Subject: test 1.4 - Specified, non-absolute +**** +exim -odf -DOPT='$acl_m_unset' e@test.ex +Subject: test 1.5 - Specified, expansion empty +**** +exim -odf -DOPT='DIR/aux-fixed/TESTNUM.$sender_address' f@test.ex +Subject: test 1.6 - Specified, expansion tainted +**** +exim -odf -DOPT='${if ={0}{0} {DIR/aux-fixed/TESTNUM.bounce.tmpl}{bad}}' g@test.ex +Subject: test 1.7 - Specified, expansion good +**** # exim -odf delay_p@test.ex Subject: test 2.1 - Default delay message **** -exim -odf -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl delay_q@test.ex +exim -odf -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl delay_q@test.ex Subject: test 2.2 - Specified delay message file **** -exim -odf -DOPT=DIR/aux-fixed/TESTNUM.nonexist.tmpl delay_r@test.ex +exim -odf -DOPT=DIR/aux-fixed/TESTNUM.nonexist.tmpl delay_r@test.ex Subject: test 2.3 - Specified, missing delay message file **** +exim -odf -DOPT='${if ={0}{0} {DIR/aux-fixed/TESTNUM.bounce.tmpl}{bad}}' delay_s@test.ex +Subject: test 2.7 - Specified, expansion good +**** sleep 1 exim -M $msg1 **** @@ -26,6 +41,8 @@ exim -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl -M $msg2 **** exim -DOPT=DIR/aux-fixed/TESTNUM.nonexist.tmpl -M $msg3 **** +exim -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl -M $msg4 +**** sleep 1 # # |