summaryrefslogtreecommitdiff
path: root/test/confs
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-12-30 13:55:54 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2017-12-30 14:13:23 +0000
commit5b6f765805bac2cfe4dc62195c33d24f64cc49e4 (patch)
tree82ae391505194abcc74d15694cea59f8343bf914 /test/confs
parent2577f55f69b29e2aa23e8c1a67795b1403aa4ba2 (diff)
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
Diffstat (limited to 'test/confs')
-rw-r--r--test/confs/40004
1 files changed, 4 insertions, 0 deletions
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\