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/confs/4000 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/confs') diff --git a/test/confs/4000 b/test/confs/4000 index c8ad7f8aa..a62f7c6a3 100644 --- a/test/confs/4000 +++ b/test/confs/4000 @@ -17,6 +17,10 @@ acl_smtp_mime = check_mime begin acl check_mime: +.ifdef BAD + deny message = this is a deny from the mime acl +.endif + warn decode = default add_header = X-$mime_part_count-content-type: $mime_content_type\n\ X-$mime_part_count-filename: $mime_filename\n\ -- cgit v1.2.3