Hello,
Not sure if this is a bug or an actual feature, but I noticed that every time we install a mailserver SSL on a mail. subdomain of a newly added addon, the “myhostname” in /etc/postfix/main.cf gets automatically set as that latest installed mailserver subdomain?
This was replicated and happening in 2.3.8 and 2.3.9 versions, I never noticed such issue while using other versions prior to these.
We have to manually change it back to the main actual hostname as setting it to random new add-on subdomain hostnames changes the HELO for emails and causes deliverability issues.
Is this a bug and if not, what’s even the purpose of this?
And more importantly - how to fix/avoid this? Is it safe to put “chattr +i /etc/postfix/main.cf” for disabling permissions of the file editing, or?