On Fri, Dec 12, 2014 at 09:38:51AM +0100, s.sm...@gmx.ch wrote: > I recompiled postfix without "-lpthread", same effect...
Might not help if other libraries Postfix uses are linked with -lpthread. Post the output of ldd for $daemon_directory/smtpd. And of course the problem might lie elsewhere, though the possibility that OpenBSD breaks the legacy _res.options semantics for single-threaded programs that happen to be linked with -lpthread through no fault of their own would have made for a tidy explanation. Are there enough OpenBSD Postfix users to warrant real effort to tackle the problem? I thought that generally OpenBSD (or perhaps at least Theo) was antagonistic to Postfix for some sort of licensing reasons, or perhaps for some other convenient reason. The patch will be OpenBSD specific, and is perhaps best developed and maintained by whoever maintains the Postfix build for OpenBSD. A more systematic solution, that might even be beneficial for other BSD-like systems, might be to add support for res_ninit(), res_nsearch() and friends. This would not be a bugfix, rather a noticeable new bit of plumbing in the DNS library. So it won't be in 2.12, not sure about the next release after that. If the Linux glibc folks also got of theire behinds and implemented the res_ninit() API, then it would be a lot more compelling. Instead we're likely to get the "getdnsapi" monstrosity foisted on us at some point. (Apologies to folks I respect who worked on it, I still respect you, even though I do think getdnsapi is rather unwieldy). -- Viktor.