Change hostname

noobienat0r

New Member
Mar 13, 2018
4
0
1
41
Dear Proxmox team,

how can i change the proxmox mail gateway hostname.
the problem is, my smtpd_banner is showing the $myhostname parameter, which is an internal hostname which cant be reverse resolved by other mailservers.

If i change my smtpd_banner at /etc/postfix/main.cf its getting automaticly overwritten by proxmox after a reboot
If i change the hostname to a fqdn hostname in /etc/hostname and reboot. The whole proxmox front & backend stops working.

Please help
 
If i change my smtpd_banner at /etc/postfix/main.cf its getting automaticly overwritten by proxmox after a reboot

Never change config files directly - instead, copy the configuration template and modify that. As described in the docs ...