Quoting iewebguy <mark@...>: > > > --- In milter-greylist@yahoogroups.com, Emmanuel Dreyfus <manu@n...> > 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) Try to find which glibc you have (rpm -qf /lib/libresolv.so may work) and check through the installed doc or online docs (not the manpages are most often with Linux it does not mention if a given function is MT safe)... Last way out will be checking the glibc code ... Libresolv in old versions of glibc was not thread-safe see http://cs-people.bu.edu/artdodge/linux/glibc/resolv/ Emmanuel, you might be interested in the following thread : http://tinyurl.com/3whpd Many Milters writers need to do DNS requests from their Milters ... Milter is low level and a higher level interface offering DNS requests, MIME decoding/altering would help a lot ... SL/ PS : http://www.nongnu.org/ruli/ looks nice but is GPL Licensed (some may say "infected" :-) ) SO I guess it cannot be used for avoiding libresolv use.
Message
Re: [milter-greylist] Re: Another Ebay range
2004-11-09 by milter@free.fr
Attachments
- No local attachments were found for this message.