Browse code

detect more mail types

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

Tomasz Kojm authored on 2004/04/28 08:37:32
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Wed Apr 28 01:33:10 CEST 2004 (tk)
2
+----------------------------------
3
+  * libclamav: detect more mail file types
4
+
1 5
 Tue Apr 27 14:53:39 CEST 2004 (tk)
2 6
 ----------------------------------
3 7
   * clamscan: fix file access problem when using clamscan with external
... ...
@@ -74,7 +74,7 @@ static const struct cli_magic_s cli_magic[] = {
74 74
     {0,  "\037\213",			2,  "GZip",		  CL_GZFILE},
75 75
     {0,  "BZh",				3,  "BZip",		  CL_BZFILE},
76 76
     {0,  "From ",			5,  "MBox",		  CL_MAILFILE},
77
-    {0,  "Received: ",			10, "Raw mail",		  CL_MAILFILE},
77
+    {0,  "Received",			8,  "Raw mail",		  CL_MAILFILE},
78 78
     {0,  "Return-Path: ",		13, "Maildir",		  CL_MAILFILE},
79 79
     {0,  "Return-path: ",		13, "Maildir",		  CL_MAILFILE},
80 80
     {0,  "Delivered-To: ",		14, "Mail",		  CL_MAILFILE},
... ...
@@ -108,6 +108,7 @@ static const struct cli_magic_s cli_magic[] = {
108 108
     {0,  "\377\373\220",		 3, "MP3",		  CL_DATAFILE},
109 109
     {0,  "\%PDF-",			 5, "PDF document",	  CL_DATAFILE},
110 110
     {0,  "\060\046\262\165\216\146\317", 7, "WMA/WMV/ASF",	  CL_DATAFILE},
111
+    {0,  ".RMF" ,			 4, "Real Media File",	  CL_DATAFILE},
111 112
 
112 113
     {-1, NULL,				 0, NULL,              CL_UNKNOWN_TYPE}
113 114
 };