Hi Benoit,
> Michael Mansour a \ufffdcrit :
> >
> > I have the libspf2 and libspf2-devel RPM's installed on my servers (RHEL4
> > based). I use the milter-greylist.spec and add a section in there as:
> > [...]
> >
> > Once I install the RPM and run milter-greylist, the very first message it
> > processes bombs it out ie. milter-greylist crashes.
> >
> > When I disable libspf2 support, milter-greylist works fine.
> >
>
> Which version of SPF2 is contained in the package libspf2 ?
# rpm -qi libspf2
Name : libspf2 Relocations: (not relocatable)
Version : 1.2.5 Vendor: city-fan.org repo
http://www.city-fan.org/ftp/contrib/
Release : 3 Build Date: Mon 12 Feb 2007
19:30:22 EST
Install Date: Mon 02 Apr 2007 20:20:58 EST Build Host:
metropolis.intra.city-fan.org
Group : System Environment/Libraries Source RPM: libspf2-1.2.5-3.src.rpm
Size : 206169 License: BSD & LGPL
Signature : DSA/SHA1, Mon 12 Feb 2007 19:30:59 EST, Key ID e0be69c9b56a8bac
Packager : Paul Howarth <paul@...>
URL : http://www.libspf2.org/
Summary : An implementation of the SPF specification
Description :
libspf2 is an implementation of the SPF (Sender Policy Framework)
specification as found at:
http://www.ietf.org/internet-drafts/draft-mengwong-spf-00.txt
SPF allows email systems to check SPF DNS records and make sure that
an email is authorized by the administrator of the domain name that
it is coming from. This prevents email forgery, commonly used by
spammers, scammers, and email viruses/worms.
A lot of effort has been put into making it secure by design, and a
great deal of effort has been put into the regression tests.
> The API of libspf2 1.0 is incompatible with the one of later
> versions; you have to be sure your "--with-libspfXX=YY" matches your
> libspf2 API.
Yes, I made sure of this. libspf2 1.2.5 is what I'm using so I used:
--with-libspf2=/usr/lib
> Or it may be that recent changes in Milter-greylist SPF code (SPF
> status matching) still contains bugs under some libSPF APIs; I
> personally only tested libspf2 1.0...
Hmmm.. I'm using milter-greylist 4.1.1 and as the rpm -qi shows above for the
libspf2 (RPM obtained from http://www.libspf2.org) it should be a version
that's ok.
Is there anything I can do to help trouble-shoot this for Emmanuel to see if
it is a bug in milter-greylist?
Michael.