Browse code

add new mail detection rule

git-svn: trunk@1102

Tomasz Kojm authored on 2004/11/17 02:25:30
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Tue Nov 16 18:24:06 CET 2004 (tk)
2
+---------------------------------
3
+  * libclamav/filetypes.c: add new mail detection rule
4
+
1 5
 Tue Nov 16 18:07:39 CET 2004 (tk)
2 6
 ---------------------------------
3 7
   * libclamav: improve generating of temporary file names (as requested by
... ...
@@ -133,6 +133,9 @@ static const struct cli_smagic_s cli_smagic[] = {
133 133
     /* "\nReceived: " * "\nContent-type: " */
134 134
     {"0a52656365697665643a20{-2048}0a436f6e74656e742d747970653a20", "Mail file", CL_TYPE_MAIL},
135 135
 
136
+    /* "MIME-Version: " * "\nContent-Type: " */
137
+    {"4d494d452d56657273696f6e3a20{-2048}0a436f6e74656e742d547970653a20", "Mail file", CL_TYPE_MAIL},
138
+
136 139
     /* remember the matcher is case sensitive */
137 140
     {"3c62723e",       "HTML data", CL_TYPE_HTML},	/* <br> */
138 141
     {"3c42723e",       "HTML data", CL_TYPE_HTML},	/* <Br> */