Yahoo Groups archive

Milter-greylist

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

Thread

smfi_register: version mismatch ?

smfi_register: version mismatch ?

2008-11-08 by BERTRAND Joel

Hello,

	I'm trying to update my old milter-greylist installation on a sparc64 
running debian/lenny. I have built greylist with :

Root rayleigh:[/etc/init.d] > ./configure --enable-dnsrbl --with-libbind 
--with-libspf2

	When I launch milter-greylist, I obtain in log :

Nov  8 12:09:07 rayleigh milter-greylist: greylist: smfi_register: 
version mismatch application: 16777217 != milter: 2
Nov  8 12:09:08 rayleigh milter-greylist: 
/usr/local/bin/milter-greylist: smfi_register failed

	I don't understand this message and google doesn't help me. Any idea ? 
greylist-2.0 ran fine.

	Regards,

	JKB

smfi_register: version mismatch ?

2008-11-08 by BERTRAND Joel

Hello,

	I'm trying to update my old milter-greylist installation on a sparc64 
running debian/lenny. I have built greylist with :

Root rayleigh:[/etc/init.d] > ./configure --enable-dnsrbl --with-libbind 
--with-libspf2

	When I launch milter-greylist, I obtain in log :

Nov  8 12:09:07 rayleigh milter-greylist: greylist: smfi_register: 
version mismatch application: 16777217 != milter: 2
Nov  8 12:09:08 rayleigh milter-greylist: 
/usr/local/bin/milter-greylist: smfi_register failed

	I don't understand this message and google doesn't help me. Any idea ? 
greylist-2.0 ran fine.

	Regards,

	JKB

Re: [milter-greylist] smfi_register: version mismatch ?

2008-11-08 by manu@netbsd.org

BERTRAND Joel <joel.bertrand@...> wrote:

>       I'm trying to update my old milter-greylist installation on a sparc64
> running debian/lenny. I have built greylist with :
> 
> Root rayleigh:[/etc/init.d] > ./configure --enable-dnsrbl --with-libbind
> --with-libspf2
> 
>       When I launch milter-greylist, I obtain in log :
> 
> Nov  8 12:09:07 rayleigh milter-greylist: greylist: smfi_register: 
> version mismatch application: 16777217 != milter: 2

That sugests your milter library and headers are out of sync. Or you did
your build with a libmilter different than the one you use at runtime.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Re: [milter-greylist] smfi_register: version mismatch ?

2008-11-08 by BERTRAND Joel

manu@... a \ufffdcrit :
> 
> 
> BERTRAND Joel <joel.bertrand@... 
> <mailto:joel.bertrand%40systella.fr>> wrote:
> 
>  > I'm trying to update my old milter-greylist installation on a sparc64
>  > running debian/lenny. I have built greylist with :
>  >
>  > Root rayleigh:[/etc/init.d] > ./configure --enable-dnsrbl --with-libbind
>  > --with-libspf2
>  >
>  > When I launch milter-greylist, I obtain in log :
>  >
>  > Nov 8 12:09:07 rayleigh milter-greylist: greylist: smfi_register:
>  > version mismatch application: 16777217 != milter: 2
> 
> That sugests your milter library and headers are out of sync. Or you did
> your build with a libmilter different than the one you use at runtime.

	Very strange... I have forced version 2 in milter-greylist.c, and it 
works...

	JKB

Re: [milter-greylist] smfi_register: version mismatch ?

2008-11-11 by Johann E. Klasek

On Sat, Nov 08, 2008 at 03:07:42PM +0100, BERTRAND Joel wrote:
> manu@... a \ufffdcrit :
> > 
> > 
> > BERTRAND Joel <joel.bertrand@... 
> > <mailto:joel.bertrand%40systella.fr>> wrote:
> > 
> >  > I'm trying to update my old milter-greylist installation on a sparc64
> >  > running debian/lenny. I have built greylist with :
> >  >
> >  > Root rayleigh:[/etc/init.d] > ./configure --enable-dnsrbl --with-libbind
> >  > --with-libspf2
> >  >
> >  > When I launch milter-greylist, I obtain in log :
> >  >
> >  > Nov 8 12:09:07 rayleigh milter-greylist: greylist: smfi_register:
> >  > version mismatch application: 16777217 != milter: 2
> > 
> > That sugests your milter library and headers are out of sync. Or you did
> > your build with a libmilter different than the one you use at runtime.
> 
> 	Very strange... I have forced version 2 in milter-greylist.c, and it 
> works...

Hmm, looks like some little/big endian and/or 32/64bit strangeness?
16777217 means 0x0100 0001 is the 2-complement (sign changed) of 0xfeffffff which
is endian reversed 0xfffffffe -> -2 (32bit), reversing the sign
with a 2-complement -> 2  ...


Johann

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.