• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question changing my header from (localhost.localdomain [IPv6:::1]) to (localhost [IPv6:::1])

fec19777

Basic Pleskian
When i send email from my server, the header appears like this (localhost.localdomain [IPv6:::1]).
How can i change the header from (localhost.localdomain [IPv6:::1]) to (localhost [IPv6:::1])
 
Please edit /etc/postfix/main.cf and uncomment and fill this line:
myhostname = <enter your public hostname here>
After the change, please restart postfix
as root service postfix restart.
 
<enter your public hostname here> i used my domain as the hostname and i also use used the domain as ptr records for my server ip.
After sending email the header still shows (localhost.localdomain [IPv6:::1]). instead (localhost [IPv6:::1])
 
Back
Top