X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/0d2e392e281e96d9f9f2f3dd438affe3f2563c57..2081aac24b67f3f3f34389aadc06354abcad0cad:/test/scripts/0000-Basic/0584 diff --git a/test/scripts/0000-Basic/0584 b/test/scripts/0000-Basic/0584 index 54ca506cc..c7f543d36 100644 --- a/test/scripts/0000-Basic/0584 +++ b/test/scripts/0000-Basic/0584 @@ -1,8 +1,29 @@ -# 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 +mail from: +rcpt to: data +From: userx@test.ex +Subject: testing . -quit +QUIT **** +# fail +exim -DOPT=fail@test.ex -bh 127.0.0.1 +mail from: +rcpt to: +QUIT +**** +# check can use tainted data +exim -DOPT='$sender_address/defer_ok' -bh 127.0.0.1 +mail from: +rcpt to: +data +From: userx@test.ex +Subject: testing +. +QUIT +**** +no_msglog_check