diff options
-rw-r--r-- | conf/maps.d/mime_types.inc | 1 | ||||
-rw-r--r-- | src/plugins/lua/mime_types.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/conf/maps.d/mime_types.inc b/conf/maps.d/mime_types.inc index 3fc17339c..d71fa0d90 100644 --- a/conf/maps.d/mime_types.inc +++ b/conf/maps.d/mime_types.inc @@ -1354,6 +1354,7 @@ message/http 0 message/imdn+xml 0 message/news 0 message/rfc822 0 +message/rfc822-headers 0 message/s-http 0 message/sip 0 message/sipfrag 0 diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index a4c664e3f..9f6e4f330 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -386,6 +386,7 @@ local function check_mime_type(task) local mtype,subtype = p:get_type() if not mtype then + lua_util.debugm(N, task, "no content type for part: %s", p:get_id()) task:insert_result(settings['symbol_unknown'], 1.0, 'missing content type') task:insert_result('MIME_TRACE', 0.0, string.format("%s:%s", p:get_id(), '~')) |