Hello,
please have a problem. My server is behind NAT. The local name has server01.local.lan.
The outside name is mail.example.com. When I send an email, the email is delivered under the local name server01.local.lan. I need the email to be delivered under the public name of mail.example.com.
Emails seem untrustworthy.
I see the whole problem in changing the $myhostname parameter in the postfix configuration.
Please, give me an advice.
Thanks for the anwers.