From: Alexander Moisseev Date: Tue, 22 Mar 2016 10:11:26 +0000 (+0300) Subject: [Fix] `MIME_BAD_ATTACHMENT` false positives for MDN/DSN X-Git-Tag: 1.2.1~6^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F568%2Fhead;p=rspamd.git [Fix] `MIME_BAD_ATTACHMENT` false positives for MDN/DSN --- diff --git a/conf/modules.d/mime_types.conf b/conf/modules.d/mime_types.conf index 71d90e37e..eb00e04c7 100644 --- a/conf/modules.d/mime_types.conf +++ b/conf/modules.d/mime_types.conf @@ -22,7 +22,11 @@ mime_types { # Match specific extensions to specific content types extension_map = { html = "text/html"; - txt = "text/plain"; + txt = [ + "message/disposition-notification", + "text/plain", + "text/rfc822-headers" + ]; pdf = "application/pdf"; } }