Yahoo Groups archive

Milter-greylist

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

Message

Re: 2.0.2&2.1.3 with SPF1 & SPF2 crashes

2006-02-25 by joosteto

--- In milter-greylist@yahoogroups.com, manu@... wrote:
>
> joosteto <joostje@...> wrote:
> 
> > I tried to run milter-greylist on my x86-64 system, with libspf.
> > 2.0.2 failed with SPF2 (didn't try SPF1)
> > 2.1.3 failed with SPF1 and SPF2.
> 
> An usual cause of crashes: is your libspf linked against a thread-safe
> DNS resolver? 

I really don't know how to find out:(.
I'm using Bind9 as DNS server, but I suppose the resolver comes from
somewhere else.

I read in the libc6 (gnu libc) FAQ:
  {AJ} The GNU C library uses thread safe functions by default and
libc5 used
  non thread safe versions.  The non thread safe functions have in
glibc the
  suffix `_unlocked', for details check <stdio.h>.  Using  
`putc_unlocked' etc.
  instead of `putc' should give nearly the same speed with bonnie  
(bonnie is a
  benchmark program for measuring disk access).

So I would suppose the thread-safe-ness should be OK (libc6 provides
the libresolv.so.2 library milter-greylist is linked with).

Also, my mailsystem handles about 1 email every 10-60 seconds, and is
idle the rest of the time. So I would have thought that
milter-greylist is unlikely to run into threading problems after only
3 to 5 emails, whitch is what happens every time I try it.

Thanks,
joostje

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.