X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/54c5ebb14ead7439af300e9d7d9d7d2ba29ff32e..59371ea735c941334861aa5b8e1e9a06facf044f:/test/scripts/0000-Basic/0027 diff --git a/test/scripts/0000-Basic/0027 b/test/scripts/0000-Basic/0027 new file mode 100644 index 000000000..606c1095f --- /dev/null +++ b/test/scripts/0000-Basic/0027 @@ -0,0 +1,53 @@ +# Nested ACL (per user) and ACL misconfigurations +# +# Invalid sender, should reject both +exim -bs +mail from: +rcpt to: +rcpt to: +quit +**** +# Valid sender, should only reject userx +exim -bs +mail from: +rcpt to: +rcpt to: +quit +**** +# ACL misconfigurations at RCPT time +exim -bs +mail from:<> +rcpt to:<"deny verify = header_syntax"@test.ex> +rcpt to:<"deny verify = junk"@test.ex> +rcpt to:<"deny vorify = junk"@test.ex> +rcpt to:<"dony verify = junk"@test.ex> +rcpt to:<"deny !message = abcd"@test.ex> +quit +**** +# ACL misconfiguration at DATA time +exim -bs +mail from:<> +rcpt to: +data +Subject: data1 +. +quit +**** +# ACL misconfiguration at DATA time +exim -bs +mail from:<> +rcpt to: +data +Subject: data2 +. +quit +**** +# ACL misconfiguration at DATA time +exim -bs +mail from:<> +rcpt to: +data +Subject: data3 +. +quit +****