From 5b6f765805bac2cfe4dc62195c33d24f64cc49e4 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 30 Dec 2017 13:55:54 +0000 Subject: MIME ACL: fix SMTP response for non-accept result of the ACL. Bug 2214. As far as I can see this was broken back in 2013, f4c1088 for 4.82 --- test/scripts/4000-scanning/4000 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'test/scripts/4000-scanning') diff --git a/test/scripts/4000-scanning/4000 b/test/scripts/4000-scanning/4000 index b29aed1e0..623c5420f 100644 --- a/test/scripts/4000-scanning/4000 +++ b/test/scripts/4000-scanning/4000 @@ -243,3 +243,32 @@ foobar . quit **** +# +# +# As above, but with a deny from the mime acl +# +exim -DBAD=bad -odi -bs +ehlo test.ex +mail from:<> +rcpt to: +data +Date: Fri, 17 Dec 2004 14:35:01 +0100 +From: J Caesar +To: a-list00@exim.org +Message-ID: <20041217133502.GA3059@test.ex> +Mime-Version: 1.0 +Content-Type: application/pdf; + name*=''2015.11.13%20-%20Pr%C3%A4sentation%20GI%20-%20LK.PDF +Content-Disposition: attachment; + filename*=''2015.11.13%20-%20Pr%C3%A4sentation%20GI%20-%20LK.PDF +Subject: Nasty6 + +--T4sUOijqQbZv57TR +Content-Type: text/plain; + +foobar + +--T4sUOijqQbZv57TR-- +. +quit +**** -- cgit v1.2.3