Browse code

scan X-Apparently-To: messages

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

Tomasz Kojm authored on 2004/03/25 21:43:43
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Thu Mar 25 13:53:37 CET 2004 (tk)
2
+---------------------------------
3
+  * libclamav: scanners: scan "X-Apparently-To: " mail files
4
+
1 5
 Thu Mar 25 12:20:05 CET 2004 (tk)
2 6
 ---------------------------------
3 7
   * freshclam: use HTTP Range to limit data transfer for cvd headers
... ...
@@ -69,19 +69,20 @@ struct cli_magic_s {
69 69
 
70 70
 #define MAGIC_BUFFER_SIZE 26
71 71
 static const struct cli_magic_s cli_magic[] = {
72
-    {0,  "Rar!",			4, "RAR",	    CL_RARFILE},
73
-    {0,  "PK\003\004",			4, "ZIP",	    CL_ZIPFILE},
74
-    {0,  "\037\213",			2, "GZip",	    CL_GZFILE},
75
-    {0,  "BZh",				3, "BZip",	    CL_BZFILE},
76
-    {0,  "From ",			5, "MBox",	    CL_MAILFILE},
72
+    {0,  "Rar!",			4,  "RAR",	    CL_RARFILE},
73
+    {0,  "PK\003\004",			4,  "ZIP",	    CL_ZIPFILE},
74
+    {0,  "\037\213",			2,  "GZip",	    CL_GZFILE},
75
+    {0,  "BZh",				3,  "BZip",	    CL_BZFILE},
76
+    {0,  "From ",			5,  "MBox",	    CL_MAILFILE},
77 77
     {0,  "Received: ",			10, "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},
81
-    {0,  "X-UIDL: ",			8, "Mail",	    CL_MAILFILE},
82
-    {0,  "For: ",			5, "Eserv mail",    CL_MAILFILE},
83
-    {0,  "From: ",			6, "Exim mail",	    CL_MAILFILE},
81
+    {0,  "X-UIDL: ",			8,  "Mail",	    CL_MAILFILE},
82
+    {0,  "For: ",			5,  "Eserv mail",   CL_MAILFILE},
83
+    {0,  "From: ",			6,  "Exim mail",    CL_MAILFILE},
84 84
     {0,  "X-Symantec-",			11, "Symantec",	    CL_MAILFILE},
85
+    {0,  "X-Apparently-To: ",		17, "Symantec",	    CL_MAILFILE},
85 86
     {0,  "Hi. This is the qmail-send",  26, "Qmail bounce", CL_MAILFILE},
86 87
     {0,  "\320\317\021\340\241\261\032\341",
87 88
 	                    8, "OLE2 container",  CL_OLE2FILE},