]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Do not trigger BROKEN_CONTENT_TYPE on innocent text parts
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 3 Dec 2018 12:13:18 +0000 (12:13 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 3 Dec 2018 12:13:18 +0000 (12:13 +0000)
src/libmime/message.c

index 411b3bf03898d78201971dcf45575d946d23afe2..a5faaf017bfa7f1a88701bfadd96e7f169b79dd5 100644 (file)
@@ -758,12 +758,11 @@ rspamd_message_process_text_part_maybe (struct rspamd_task *task,
                                                        found_txt = TRUE;
                                                }
                                                else {
-                                                       msg_info_task ("found mime part with incorrect content-type: %T/%T, "
+                                                       msg_debug_task ("found mime part with incorrect content-type: %T/%T, "
                                                                                   "filename: %T",
                                                                        &mime_part->ct->type,
                                                                        &mime_part->ct->subtype,
                                                                        &mime_part->cd->filename);
-                                                       mime_part->ct->flags |= RSPAMD_CONTENT_TYPE_BROKEN;
                                                }
                                        }
                                        else {