From cf691ad7ec4b1830e64e6c5c620cff05691726d6 Mon Sep 17 00:00:00 2001 From: Nigel Horne Date: Thu, 22 Dec 2005 17:15:24 +0000 Subject: [PATCH] Add comment about whitelisting complete domains git-svn: trunk@1791 --- clamav-devel/clamav-milter/clamav-milter.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/clamav-devel/clamav-milter/clamav-milter.c b/clamav-devel/clamav-milter/clamav-milter.c index a6e1a5653..84a9546f3 100644 --- a/clamav-devel/clamav-milter/clamav-milter.c +++ b/clamav-devel/clamav-milter/clamav-milter.c @@ -22,7 +22,7 @@ * * For installation instructions see the file INSTALL that came with this file */ -static char const rcsid[] = "$Id: clamav-milter.c,v 1.225 2005/12/16 13:30:52 nigelhorne Exp $"; +static char const rcsid[] = "$Id: clamav-milter.c,v 1.226 2005/12/22 17:15:24 nigelhorne Exp $"; #define CM_VERSION "devel-141205" @@ -4903,7 +4903,7 @@ broadcast(const char *mess) static int loadDatabase(void) { - extern const char *cl_retdbdir(void); /* FIXME: should be included */ + /*extern const char *cl_retdbdir(void); /* FIXME: should be included */ int ret, v; unsigned int signatures; time_t t; @@ -5129,6 +5129,8 @@ verifyIncomingSocketName(const char *sockName) * TODO: Allow regular expressions in the emails * TODO: Syntax check the contents of the files * TODO: Allow emails of the form "name
" + * TODO: Assume that if a '@' is missing from the address, that all emails + * to that domain are to be whitelisted */ static int isWhitelisted(const char *emailaddress)