git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1290 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2005/01/27 23:12:00... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Thu Jan 27 14:11:13 GMT 2005 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+* libclamav/mbox.c: Scan sendmail queue df* files |
|
4 |
+ |
|
1 | 5 |
Thu Jan 27 10:55:35 GMT 2005 (njh) |
2 | 6 |
---------------------------------- |
3 | 7 |
* clamav-milter: Don't scan emails intended for the --quarantine address, |
... | ... |
@@ -17,6 +17,9 @@ |
17 | 17 |
* |
18 | 18 |
* Change History: |
19 | 19 |
* $Log: mbox.c,v $ |
20 |
+ * Revision 1.212 2005/01/27 14:10:53 nigelhorne |
|
21 |
+ * Scan sendmail queue df files |
|
22 |
+ * |
|
20 | 23 |
* Revision 1.211 2005/01/19 17:41:25 nigelhorne |
21 | 24 |
* Downgraded warning message |
22 | 25 |
* |
... | ... |
@@ -621,7 +624,7 @@ |
621 | 621 |
* Compilable under SCO; removed duplicate code with message.c |
622 | 622 |
* |
623 | 623 |
*/ |
624 |
-static char const rcsid[] = "$Id: mbox.c,v 1.211 2005/01/19 17:41:25 nigelhorne Exp $"; |
|
624 |
+static char const rcsid[] = "$Id: mbox.c,v 1.212 2005/01/27 14:10:53 nigelhorne Exp $"; |
|
625 | 625 |
|
626 | 626 |
#if HAVE_CONFIG_H |
627 | 627 |
#include "clamav-config.h" |
... | ... |
@@ -1454,6 +1457,10 @@ parseEmailFile(FILE *fin, const table_t *rfc821, const char *firstLine) |
1454 | 1454 |
* A blank line signifies the end of |
1455 | 1455 |
* the header and the start of the text |
1456 | 1456 |
*/ |
1457 |
+ if(!anyHeadersFound) |
|
1458 |
+ /* Ignore the junk at the top */ |
|
1459 |
+ continue; |
|
1460 |
+ |
|
1457 | 1461 |
cli_dbgmsg("End of header information\n"); |
1458 | 1462 |
inHeader = FALSE; |
1459 | 1463 |
} else |