On Mon, Jan 13, 2014 at 05:03:53PM +0100, Matthieu Herrb wrote:
> Hi,
> 
> I recently upgraded two servers at work from OpenBSD 5.2 to 5.4 and
> got problems on both of the machines that are related to the new
> asynchronous resolver in libc.
> 
> 1. this machnie is SMTP server for a subpart of our domains, running
> sendmail. It receives the mail from the outside (and runs spamd) and
> delivers the messages to internal mail box servers, according to the
> alias map which has entries in the form
> 
>  joe: joe@servera
> 
> This setup has worked perfectly for years under various OSs and also
> worked under 5.2. Under 5.4 I get errors like this one from sendmail:
> 
> Jan 13 13:00:02 smtp sm-mta[12261]: s0DC02FV014174: to=joe@servera,
> delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=32928, relay=servera,
> dsn=5.1.2, stat=Host unknown (Name server: servera: host not found)
> 
> And looking at DNS requests I see that sendmail is only emitting MX
> queries for 'servera' and 'servera.mydomain.fr' but no AAAA or A
> queries. 

One data point: reverting libc to the 5.3 resolver code makes my setup
work again. So this confirms that the new asr code is responsible for
the behaviour change.
OTOH, tracing what's happening in sendmail is a pain. So I've not yet
been able to explain why it's behaving this way.

-- 
Matthieu Herrb

Reply via email to