]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] `MIME_BAD_ATTACHMENT` false positives for MDN/DSN 568/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 22 Mar 2016 10:11:26 +0000 (13:11 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 22 Mar 2016 10:11:26 +0000 (13:11 +0300)
conf/modules.d/mime_types.conf

index 71d90e37e19f667e4b4b48fcb38c0d6a44554041..eb00e04c700f6f56d0d27eb3a147d66fefc65d65 100644 (file)
@@ -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";
     }
 }