PMG 9 under PMG LXC hostname change

Feb 28, 2024
15
2
3
I have a PVE cluster and one of the hosted services is PMG 9 as a LXC container.
The problem is that it identifies using .local suffix (as the hosts do).
I have changed the hostname in DNS section of the LXC configuration (so it uses a specific value)
inside PMG, hosts, hostname, hostnamectl, and postfix report the correct hostname, but when postfix delivers messages, it still uses .local, and the messages get rejected.

What's the proper way to do this, as almost all of the files are autogenerated.

Thanks
 
AFAIK smtp_helo_name=$myhostname and the latter comes from the template: myhostname = [% dns.hostname %].[% dns.domain %].
Try to regenerate the config files by way of pmgconfig sync --restart 1