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 [email protected], or (better) [email protected]. Instead it is [email protected]. 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 [email protected]. 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
