• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Best /etc/hosts configuration

SalvadorS

Regular Pleskian
Server operating system version
Debian
Plesk version and microupdate number
18.0.45
Hello,

When I send a mail to a gmail account, if I check the headers of the mail in gmail I see this:

Received: from webmail.domain.com (localhost [IPv6:::1]) by server.domain.com (Postfix) (where domain.com and server.domain.com is the name of the domain and the name of the server)

But I want to know if this: (localhost [IPv6:::1])

Is correct, as my server don´t have IPv6 I don´t know if this line is a best practice to send mail. This is my /etc/host:


127.0.0.1 localhost
x.x.x.x server.domain.com server

# The following lines are desirable for IPv6 capable hosts

::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


I don´t know if the line ::1 localhost ip6-localhost ip6-loopback is correct or I have to change/comment it...

Thanks
 
There is no need to modify your hosts file. Just leave it as it is.

When you send a mail using webmail, the webmail will connect to Postfix via the loopback address to submit the mail. Your system has a loopback IPv4 and IPv6 address even when you're not using IPv6 for your public IP address.

IPv6 is preferred by most systems nowadays, so your webmail will connect to Postfix over the IPv6 loopback address and thus, you'll see that IPv6 connection in your headers. That's completely normal and expected (and correct) behaviour.

No need to change anything there.
 
Back
Top