Changing hostname in message with mail options

V.N.

New Member
Nov 18, 2021
2
0
1
47
Hi,
I try to solve the problem with changing hostname to public name. I made it for helo and ehlo, but got stuck in message with mail options.
1637232194738.png

What setting defines format for this message? I need change ct-ms-sr-vmmg02..... to mx4....
 
Can I have in /etc/hosts my real hostname? I really need it.
Thus I just need to change hostname in SMTP messages.
 
Can I have in /etc/hosts my real hostname? I really need it.
try it - I think the postfix config (which also yields the output you want changed) relies on /etc/hostname and /etc/resolv.conf only - but please verify for yourself
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!