Browse code

More informative message when SPF record is passed

git-svn: trunk@3259

Nigel Horne authored on 2007/10/01 22:47:12
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Mon Oct  1 14:05:35 BST 2007 (njh)
2
+----------------------------------
3
+  * clamav-milter:	More informative message when SPF record is passed
4
+
1 5
 Mon Oct  1 10:52:13 BST 2007 (njh)
2 6
 ----------------------------------
3 7
   * libclamav/mbox.c:	Increase the chance of a stack trace being printed in
... ...
@@ -33,7 +33,7 @@
33 33
  */
34 34
 static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.312 2007/02/12 22:24:21 njh Exp $";
35 35
 
36
-#define	CM_VERSION	"devel-20080920"
36
+#define	CM_VERSION	"devel-20081001"
37 37
 
38 38
 #if HAVE_CONFIG_H
39 39
 #include "clamav-config.h"
... ...
@@ -3518,8 +3518,8 @@ clamfi_eom(SMFICTX *ctx)
3518 3518
 		table_t *prevhosts = tableCreate();
3519 3519
 
3520 3520
 		if(spf(privdata, prevhosts)) {
3521
-			logg(_("%s: ignoring phish false positive from %s received from %s\n"),
3522
-				sendmailId, privdata->from, privdata->ip);
3521
+			logg(_("%s: Ignoring %s false positive from %s received from %s\n"),
3522
+				sendmailId, mess, privdata->from, privdata->ip);
3523 3523
 			strcpy(mess, "OK");
3524 3524
 		}
3525 3525
 		tableDestroy(prevhosts);