Viktor:
>>> 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, ...).

Thank you Viktor. For clarification purposes I'll attach the output of
postconf: http://pastebin.com/PBg04yBE
I removed the override from default append_dot_mydomain = yes and tried to
send mail from my www jail.

This is what was logged:

Apr 28 18:58:06 mail postfix/smtp[6078]: 7D3424207:
to=<r...@www.blmbrg.de>, orig_to=<root@www>,
relay=www.blmbrg.de[94.79.159.82]:25, delay=0.24, delays=0.13/0/0.11/0,
dsn=5.4.6, status=bounced (mail for www.blmbrg.de loops back to myself)

I have reverted this change after seeing this.
Does this mean we are on to something?

Sebastian

Reply via email to