git-svn: trunk@1791
Nigel Horne authored on 2005/12/23 02:15:24... | ... |
@@ -22,7 +22,7 @@ |
22 | 22 |
* |
23 | 23 |
* For installation instructions see the file INSTALL that came with this file |
24 | 24 |
*/ |
25 |
-static char const rcsid[] = "$Id: clamav-milter.c,v 1.225 2005/12/16 13:30:52 nigelhorne Exp $"; |
|
25 |
+static char const rcsid[] = "$Id: clamav-milter.c,v 1.226 2005/12/22 17:15:24 nigelhorne Exp $"; |
|
26 | 26 |
|
27 | 27 |
#define CM_VERSION "devel-141205" |
28 | 28 |
|
... | ... |
@@ -4903,7 +4903,7 @@ broadcast(const char *mess) |
4903 | 4903 |
static int |
4904 | 4904 |
loadDatabase(void) |
4905 | 4905 |
{ |
4906 |
- extern const char *cl_retdbdir(void); /* FIXME: should be included */ |
|
4906 |
+ /*extern const char *cl_retdbdir(void); /* FIXME: should be included */ |
|
4907 | 4907 |
int ret, v; |
4908 | 4908 |
unsigned int signatures; |
4909 | 4909 |
time_t t; |
... | ... |
@@ -5129,6 +5129,8 @@ verifyIncomingSocketName(const char *sockName) |
5129 | 5129 |
* TODO: Allow regular expressions in the emails |
5130 | 5130 |
* TODO: Syntax check the contents of the files |
5131 | 5131 |
* TODO: Allow emails of the form "name <address>" |
5132 |
+ * TODO: Assume that if a '@' is missing from the address, that all emails |
|
5133 |
+ * to that domain are to be whitelisted |
|
5132 | 5134 |
*/ |
5133 | 5135 |
static int |
5134 | 5136 |
isWhitelisted(const char *emailaddress) |