diff options
author | Simon Arlott <bugzilla.exim.simon@arlott.org> | 2019-03-16 16:01:15 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-03-16 16:01:15 +0000 |
commit | 7c498df16cbb3d35eb8df3668ec426388f0dc974 (patch) | |
tree | d0af3af7e56f63539f3cbad70674da9f8d1b65a9 /test/scripts/0000-Basic | |
parent | 9883af7240d3c25b7a8a859c9e8482caacd5f1aa (diff) |
Add caseless option to verify=not_blind. Bug 2356
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r-- | test/scripts/0000-Basic/0507 | 2 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0583 | 65 |
2 files changed, 66 insertions, 1 deletions
diff --git a/test/scripts/0000-Basic/0507 b/test/scripts/0000-Basic/0507 index d4f5bc065..ce8d71e85 100644 --- a/test/scripts/0000-Basic/0507 +++ b/test/scripts/0000-Basic/0507 @@ -11,7 +11,7 @@ exim -odq -bs mail from:<> rcpt to:<userx@dom.com> data -To: a@b.c, himself <usery@dom.com> +To: a@b.c, himself <usery@dom.com>, HIMSELF <USERX@dom.com> . quit **** diff --git a/test/scripts/0000-Basic/0583 b/test/scripts/0000-Basic/0583 new file mode 100644 index 000000000..c4ae477c1 --- /dev/null +++ b/test/scripts/0000-Basic/0583 @@ -0,0 +1,65 @@ +# verify = not_blind/case_insensitive +# +# Accept: the env rcpt matches a header To: +exim -odq -bs +mail from:<> +rcpt to:<userx@dom.com> +data +To: a@b.c, himself <UserX@dom.com> +. +quit +**** +### Reject: no match +exim -odq -bs +mail from:<> +rcpt to:<userx@dom.com> +data +To: b@b.c, himself <usery@dom.com> +. +quit +**** +### Reject, with specific SMTP message +exim -DERROR_DETAILS=smtp_return_error_details -odq -bs +mail from:<> +rcpt to:<userx@dom.com> +data +To: c@b.c, himself <usery@dom.com> +. +quit +**** +### Accept, matches in header CC: +exim -odq -bs +mail from:<> +rcpt to:<userx@dom.com> +rcpt to:<usery@dom.com> +data +To: d@b.c, himself <UserY@dom.com> +Cc: unqualified, UserX@dom.com, x@y.z +. +quit +**** +### Reject: To: & CC: combo, an env rcpt missing +exim -odq -bs +mail from:<> +rcpt to:<userx@dom.com> +rcpt to:<usery@dom.com> +rcpt to:<userz@dom.com> +data +To: e@b.c, himself <UserY@dom.com> +Cc: unqualified, UserX@dom.com, x@y.z +. +quit +**** +### Accept: Resent-To: & Resent-CC: combo +exim -odq -bs +mail from:<> +rcpt to:<userx@dom.com> +rcpt to:<usery@dom.com> +data +Resent-To: f@b.c, himself <UserY@dom.com> +Resent-Cc: unqualified, UserX@dom.com, x@y.z +To: an@other +. +quit +**** +no_msglog_check |