Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] postfix & spf

2009-12-17 by Petar Bogdanovic

On Thu, Dec 17, 2009 at 04:24:22PM +0300, Vladimir Vassiliev wrote:
> 
> I just migrated from sendmail to postfix and now I have some problems
> with milter-greylist.  I recompiled milter-greylist (ver 4.1.3) with
> USE_POSTFIX and now it complains on start: "spf self clause is broken
> on Postfix"

Because of the spf self clause, you cannot use USE_POSTFIX and spf
directives in your greylist.conf.  That's something I don't really
understand so I patch it away.

		Petar Bogdanovic

--- spf.c.orig  2008-09-29 20:52:42.000000000 +0200
+++ spf.c       2008-09-29 20:53:12.000000000 +0200
@@ -493,10 +493,6 @@
        acl_data_t *ad;
        void *data;
 {
-#ifdef USE_POSTFIX
-       mg_log(LOG_ERR, "spf self clause is broken on Postfix");
-       exit(EX_DATAERR);
-#endif
        ad->spf_status = *(enum spf_status *)data;
        return;
 }

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.