diff options
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 |