Browse code

Be more specific about the format of the whitelist file

git-svn: trunk@2296

Nigel Horne authored on 2006/09/21 16:47:21
Showing 3 changed files
... ...
@@ -1,3 +1,7 @@
1
+Thu Sep 21 08:46:43 BST 2006 (njh)
2
+----------------------------------
3
+  * clamav-milter:	Be more specific about the format of the whitelist file
4
+
1 5
 Wed Sep 20 14:03:49 BST 2006 (trog)
2 6
 -----------------------------------
3 7
   * libclamav/unrar/unrar.c, unrarppm.c: portability changes
... ...
@@ -23,7 +23,7 @@
23 23
  *
24 24
  * For installation instructions see the file INSTALL that came with this file
25 25
  */
26
-static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.286 2006/09/10 21:39:49 njh Exp $";
26
+static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.287 2006/09/21 07:46:17 njh Exp $";
27 27
 
28 28
 #define	CM_VERSION	"devel-100906"
29 29
 
... ...
@@ -5509,12 +5509,13 @@ verifyIncomingSocketName(const char *sockName)
5509 5509
 }
5510 5510
 
5511 5511
 /*
5512
- * If the given email address is whitelisted don't scan emails to them
5512
+ * If the given email address is whitelisted don't scan emails to them,
5513
+ *	the addresses are in angle brackets e.g. <foo@bar.com>.
5513 5514
  *
5514 5515
  * TODO: Allow regular expressions in the addresses
5515 5516
  * TODO: Syntax check the contents of the files
5516 5517
  * TODO: Allow emails of the form "name <address>"
5517
- * TODO: Allow emails not of the form "<address>"
5518
+ * TODO: Allow emails not of the form "<address>", i.e. no angle brackets
5518 5519
  * TODO: Assume that if a '@' is missing from the address, that all emails
5519 5520
  *	to that domain are to be whitelisted
5520 5521
  */
... ...
@@ -261,6 +261,8 @@ This option specifies a file which contains a list of e-mail addresses.
261 261
 E-mails sent to these addresses will NOT be checked.
262 262
 While this is not an Anti-Virus function, it is quite useful for some systems.
263 263
 The address given to the \-\-quarantine directive is always white-listed.
264
+The file consists of a list of addresses, each address on a line enclosed
265
+in angle brackets (e.g. <foo@bar.com>).
264 266
 .TP
265 267
 \fB\-\-sendmail-cf=FILE\fR
266 268
 When starting, clamav\-milter runs some sanity checks against the sendmail.cf