diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-22 13:55:24 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-22 13:55:24 +0000 |
commit | 9e46cd6155df62a374d050a6b0ce3f66d16cf863 (patch) | |
tree | 3d7c5d08fb699db585a7ea55ba7924a3d5098c62 | |
parent | ef6ed76aa67ada4dc45b0b0bccb437b22d56a2ab (diff) | |
parent | 2ff69014ce68bad43b292240adb68f5c6a644532 (diff) | |
download | rspamd-9e46cd6155df62a374d050a6b0ce3f66d16cf863.tar.gz rspamd-9e46cd6155df62a374d050a6b0ce3f66d16cf863.zip |
Merge pull request #568 from moisseev/patch-4
[Fix] `MIME_BAD_ATTACHMENT` false positives for MDN
-rw-r--r-- | conf/modules.d/mime_types.conf | 6 |
1 files changed, 5 insertions, 1 deletions
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"; } } |