X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/0d2e392e281e96d9f9f2f3dd438affe3f2563c57..a3d3e7ef81a649d2bbd6599fc561cf22c6875e70:/test/scripts/0000-Basic/0584 diff --git a/test/scripts/0000-Basic/0584 b/test/scripts/0000-Basic/0584 index 54ca506cc..8c629a1b5 100644 --- a/test/scripts/0000-Basic/0584 +++ b/test/scripts/0000-Basic/0584 @@ -1,8 +1,32 @@ -# tainted data for appendfile file option -exim -bs -odi -mail from:someone@some.domain -rcpt to:CALLER@HOSTNAME +# verify = sender=address +# +# pass +exim -DOPT=userx@test.ex -bh 127.0.0.1 +helo test +mail from: +rcpt to: data +From: userx@test.ex +Subject: testing . -quit +QUIT **** +# fail +exim -DOPT=fail@test.ex -bh 127.0.0.1 +helo test +mail from: +rcpt to: +QUIT +**** +# check can use tainted data +exim -DOPT='$sender_address/defer_ok' -bh 127.0.0.1 +helo test +mail from: +rcpt to: +data +From: userx@test.ex +Subject: testing +. +QUIT +**** +no_msglog_check