• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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