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])