Zentyal Forum, Linux Small Business Server

Zentyal Server => Email and Groupware => Topic started by: tomd81 on September 26, 2018, 08:27:09 am

Title: Problem name mailserver
Post by: tomd81 on September 26, 2018, 08:27:09 am
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.