git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@920 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/09/23 00:53:45... | ... |
@@ -17,6 +17,9 @@ |
17 | 17 |
* |
18 | 18 |
* Change History: |
19 | 19 |
* $Log: mbox.c,v $ |
20 |
+ * Revision 1.139 2004/09/22 15:49:13 nigelhorne |
|
21 |
+ * Handle RFC2298 messages |
|
22 |
+ * |
|
20 | 23 |
* Revision 1.138 2004/09/22 15:21:50 nigelhorne |
21 | 24 |
* Fix typo |
22 | 25 |
* |
... | ... |
@@ -402,7 +405,7 @@ |
402 | 402 |
* Compilable under SCO; removed duplicate code with message.c |
403 | 403 |
* |
404 | 404 |
*/ |
405 |
-static char const rcsid[] = "$Id: mbox.c,v 1.138 2004/09/22 15:21:50 nigelhorne Exp $"; |
|
405 |
+static char const rcsid[] = "$Id: mbox.c,v 1.139 2004/09/22 15:49:13 nigelhorne Exp $"; |
|
406 | 406 |
|
407 | 407 |
#if HAVE_CONFIG_H |
408 | 408 |
#include "clamav-config.h" |
... | ... |
@@ -1729,7 +1732,10 @@ parseEmailBody(message *messageIn, text *textIn, const char *dir, const table_t |
1729 | 1729 |
messageDestroy(m); |
1730 | 1730 |
} |
1731 | 1731 |
break; |
1732 |
- } else if(strcasecmp(mimeSubtype, "partial") == 0) |
|
1732 |
+ } else if(strcasecmp(mimeSubtype, "disposition-notification") == 0) |
|
1733 |
+ /* RFC 2298 - handle like a normal email */ |
|
1734 |
+ break; |
|
1735 |
+ else if(strcasecmp(mimeSubtype, "partial") == 0) |
|
1733 | 1736 |
/* TODO */ |
1734 | 1737 |
cli_warnmsg("Content-type message/partial not yet supported\n"); |
1735 | 1738 |
else if(strcasecmp(mimeSubtype, "external-body") == 0) |