Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Re: Another Ebay range

2004-11-09 by manu@netbsd.org

iewebguy <mark@...> wrote:

> > key point is to link with a thread safe resolver. libspf and libspf_alt
> > make DNS querries within milter-greylist, and milter-greylist is a 
> > threaded program. If the resolver is not thread safe, you crash at the
> > first time two thread make a DNS query at the same time 
> How can I tell if I have a thread-safe resolver?  I am running a raq
> 550     (cobalt linux) 

Link milter-greylist and run nm on it. If you have res_ *functions, you
loose. If you have nres_*, you win. 

If your system does not has a thread-safe resolver, you can build
libbind.a from BIND 9 sources, and link libspf_alt with libbind.a.
That's what I do on NetBSD 1.6.2.

-- 
Emmanuel Dreyfus
Il y a 10 sortes de personnes dans le monde: ceux qui comprennent 
le binaire et ceux qui ne le comprennent pas.
manu@...

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.