Yahoo Groups archive

Milter-greylist

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

Message

SPF breakage

2007-03-20 by AIDA Shinra

When "nospf" option is unset everything passes through due to change
of spf.c on 2007/01/28.

Index: milter-greylist.c
===================================================================
RCS file: /milter-greylist/milter-greylist/milter-greylist.c,v
retrieving revision 1.176
diff -u -r1.176 milter-greylist.c
--- milter-greylist.c	9 Mar 2007 04:37:00 -0000	1.176
+++ milter-greylist.c	20 Mar 2007 03:53:32 -0000
@@ -418,7 +418,7 @@
 	/*
 	 * Is the sender address SPF-compliant?
 	 */
-	if ((conf.c_nospf == 0) && (SPF_CHECK(priv) != EXF_NONE)) {
+	if ((conf.c_nospf == 0) && SPF_CHECK(priv)) {
 		char ipstr[IPADDRSTRLEN];
 
 		if (iptostring(SA(&priv->priv_addr),

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.