One of the few remaining issues on my postfix server is that
double-bounce messages don't come from the 'right' envelope sender.

I would like it to be double_bou...@mydomain.tld, or (better)
double_bounce+vps3456...@mydomain.tld. Instead it is
double_bou...@vps3456789.mydomain.tld. In other words the domain part
of the sender address contains a sub-domain. This breaks our spf and
is untidy; and it doesn't happen with other mail messages created on
the server (e.g. by cron), which come from vps3456...@mydomain.tld. Is
this fixable? I don't think it would be right to set
myhostname=mydomain.tld because the server's FQDN is
vps3456789.mydomain.tld.

At present I have:
# grep ^my /etc/postfix/main.cf
mydomain = mydomain.tld
myhostname = vps3456789.mydomain.tld
mynetworks_style = subnet
myorigin = /etc/mailname
# cat /etc/mailname
mydomain.tld

Thanks, Dominic

Reply via email to