> > Apr 27 09:11:45 mail postfix/smtp[32984]: DBD1E4574: to=<root@www>,
> > relay=none, delay=0.03, delays=0.02/0/0/0, dsn=5.4.4, status=bounced (Host
> > or domain name not found. Name service error for name=www type=A: Host not
> > found)

The system hostname is not fully qualified, and someone either set:

        append_dot_mydomain = no

or did not set a non-empty "mydomain", while leaving:

        myorigin = $myhostname
        smtp_host_lookup = dns

at their default values.  Which results in a recipient address of
"root@www" (non-fqdn domain) and in DNS lookup for the A record of
"www.", which unsurprisingly does not exist.

The best solution is to set mydomain correctly and to leave

        append_dot_mydomain = yes

at its default value (remove the override from main.cf, ...).

-- 
        Viktor.

Reply via email to