diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2020-06-14 20:43:06 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2020-06-14 21:04:46 +0100 |
commit | 9eed571fd7c3236326cc6ea74f1455b027df7604 (patch) | |
tree | ea6b576f3dba3445c4bad666d28b2431f2eed324 /test/scripts/0000-Basic | |
parent | d3a538c8fee9f31b29947ad73445f50902140899 (diff) |
Taint: fix verify. Bug 2598
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r-- | test/scripts/0000-Basic/0087 | 2 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0591 | 29 |
2 files changed, 30 insertions, 1 deletions
diff --git a/test/scripts/0000-Basic/0087 b/test/scripts/0000-Basic/0087 index c77b69cc4..8e65e8006 100644 --- a/test/scripts/0000-Basic/0087 +++ b/test/scripts/0000-Basic/0087 @@ -1,4 +1,4 @@ -# verify = header_sender +# verify = header_sender & sender exim -bh V4NET.10.10.10 mail from:<userx@test.ex> rcpt to:<userx@test.ex> diff --git a/test/scripts/0000-Basic/0591 b/test/scripts/0000-Basic/0591 new file mode 100644 index 000000000..c7f543d36 --- /dev/null +++ b/test/scripts/0000-Basic/0591 @@ -0,0 +1,29 @@ +# verify = sender=address +# +# pass +exim -DOPT=userx@test.ex -bh 127.0.0.1 +mail from:<userx@test.ex> +rcpt to:<userx@test.ex> +data +From: userx@test.ex +Subject: testing +. +QUIT +**** +# fail +exim -DOPT=fail@test.ex -bh 127.0.0.1 +mail from:<userx@test.ex> +rcpt to:<userx@test.ex> +QUIT +**** +# check can use tainted data +exim -DOPT='$sender_address/defer_ok' -bh 127.0.0.1 +mail from:<userx@test.ex> +rcpt to:<userx@test.ex> +data +From: userx@test.ex +Subject: testing +. +QUIT +**** +no_msglog_check |