Browse code

Improve e-mail detection

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@809 77e5149b-7576-45b1-b177-96237e5ba77b

Tomasz Kojm authored on 2004/08/29 03:30:14
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Sat Aug 28 20:25:44 CEST 2004 (tk)
2
+----------------------------------
3
+  * libclamav/filetypes.c: Improve e-mail detection (thanks to Andy Igoshin
4
+			   <ai*vsu.ru>)
5
+
1 6
 Sat Aug 28 10:16:19 BST 2004 (trog)
2 7
 -----------------------------------
3 8
   * libclamav/ole2_extract.c: Another go at fixing MACOS/X filenames
... ...
@@ -142,7 +147,7 @@ Sat Aug 21 12:59:43 BST 2004 (njh)
142 142
 ----------------------------------
143 143
   * libclamav:	Changed the handling of miltipart messages, that is scanning
144 144
 			emails with attachments. Reports on impact on memory
145
-			usage and speed welcome to clamav-devel@clamav.net
145
+			usage and speed welcome to clamav-devel@lists.sf.net.
146 146
 
147 147
 Fri Aug 20 21:05:04 CEST 2004 (tk)
148 148
 ----------------------------------
... ...
@@ -118,9 +118,13 @@ static const struct cli_smagic_s cli_smagic[] = {
118 118
 
119 119
     /* "\nFrom: " * "\nContent-Type: " */
120 120
     {"0a46726f6d3a20{-2048}0a436f6e74656e742d547970653a20", "Mail file", CL_MAILFILE},
121
+
121 122
     /* "\nReceived: " * "\nContent-Type: " */
122 123
     {"0a52656365697665643a20{-2048}0a436f6e74656e742d547970653a20", "Mail file", CL_MAILFILE},
123 124
 
125
+    /* "\nReceived: " * "\nContent-type: " */
126
+    {"0a52656365697665643a20{-2048}0a436f6e74656e742d747970653a20", "Mail file", CL_MAILFILE},
127
+
124 128
     /* remember the matcher is case sensitive */
125 129
     {"3c62723e",       "HTML data", CL_HTMLFILE},	/* <br> */
126 130
     {"3c42723e",       "HTML data", CL_HTMLFILE},	/* <Br> */