Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] configuration file update

2006-09-19 by Emmanuel Dreyfus

On Tue, Sep 19, 2006 at 06:47:36PM +0900, AIDA Shinra wrote:
> It is a bug introduced at 3.0a6. The conf_cold is always 1.

That seems to be the fix:

Index: milter-greylist.c
===================================================================
RCS file: /cvsroot/milter-greylist/milter-greylist.c,v
retrieving revision 1.137.2.2
retrieving revision 1.137.2.3
diff -U4 -r1.137.2.2 -r1.137.2.3
--- milter-greylist.c   4 Sep 2006 22:07:21 -0000       1.137.2.2
+++ milter-greylist.c   19 Sep 2006 13:31:26 -0000      1.137.2.3
@@ -887,8 +887,10 @@
 	}
 
 	openlog("milter-greylist", 0, LOG_MAIL);
 
+	conf_cold = 0;
+
 	if (conf.c_socket == NULL) {
 		 mg_log(LOG_ERR, "%s: No socket provided, exiting", argv[0]);
 		 usage(argv[0]);
 	}

-- 
Emmanuel Dreyfus
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.