[SOLVED] myhostname is wrong

Younex

Well-Known Member
Jan 30, 2018
93
22
48
45
Hi.

Inside /etc/postfix/main.cf i find this hostname:

mydomain = localdomain
myhostname = mx0.localdomain

I don´t know where it reads the "localdomain" on auto-generation from.
Manually changing it will get overwritten by pmg.

DNS is set correctly.

Where can i please configure the correct myhostname to be set to main.cf as it is used on EHLO.

Thanks!