diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-03-22 13:11:26 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-03-22 13:11:26 +0300 |
commit | 2ff69014ce68bad43b292240adb68f5c6a644532 (patch) | |
tree | 55c3085c96a0c40b99c37309bf67b57e2f16eb6d /conf | |
parent | 90bf870bd8d112e8317c9b2a38782a7a6666bbac (diff) | |
download | rspamd-2ff69014ce68bad43b292240adb68f5c6a644532.tar.gz rspamd-2ff69014ce68bad43b292240adb68f5c6a644532.zip |
[Fix] `MIME_BAD_ATTACHMENT` false positives for MDN/DSN
Diffstat (limited to 'conf')
-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"; } } |