> On Dec 10, 2018, at 7:23 PM, ben+postfix-us...@narcissus.net wrote:
>
> Scenario: a nameserver is misconfigured such that it doesn't set the
> "recursion available" (ra) bit on its replies. Postfix's relayhost has an A
> record but no MX record, and is specified in main.cf without [] brackets
> around it.
Postfix does not inspect the "RD/RA" bit in DNS replies. That's up to your
system resolver library. The RA bit may be a red-herring, quite possibly
something else is the real issue.
> What I see is that Postfix 2.6.6 looks up the MX record, receives a
> successful negative
> reply (but with the ra bit unset), and defers with "Host or domain name not
> found. Name
> service error for name=[REDACTED] type=MX: Host not found, try again".
The error code is generated by your system resolver library.
Postfix is just the messenger.
--
--
Viktor.