On Fri, Jul 16, 2021 at 02:30:43PM -0400, Thirumurugan Kalapatti wrote:
> Jul 16 12:23:30 hostM postfix/smtp[698664]: 7A2A020ECDC6: to=<joe@hostb>,
> relay=none, delay=0.05, delays=0.02/0.03/0/0, dsn=5.4.4, status=bounced
> (Host or domain name not found. Name service error for name=hostb type=A:
> Host not found)
This means that:
* "hostb" is not listed in the file.
(left-justified, one hostname, just the name, per line)
> mail server hostM says cannot find hostb. I would expect the mail
> server hostM to accept mail for hostb since it is part of the
> mydestination variable.
The message *was* accepted, the issue is that "hostb" is not resolving
to the "local" transport (and has no known IP address for SMTP delivery,
which you want to avoid anyway).
--
Viktor.