X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/0d2e392e281e96d9f9f2f3dd438affe3f2563c57..aa091f5c136d0f5b13ca6d6eb3e2dd0bcadcf8eb:/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