Author Topic: Problem name mailserver  (Read 119 times)

tomd81

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Problem name mailserver
« 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.

 

mailcat