• 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!
  • 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.

Issue Email going to spam

Hi Pradeep,

Could you post here the message with mail-headers that was sorted into a spam folder?
 
If webmail (local mail) is sent by Postfix and the myhostname variable is not set in /etc/postfix/main.cf, some recipients won’t accept the mail, because it seems to be coming from <hostname>.localdomain.

Edit /etc/postfix/main.cf and add the line
Code:
myhostname = <hostname>
anywhere in the file, e.g. on the last line. If the variable already exists, modify it.
 
Last edited:
Have you actually checked and verified the e-mail header that mail is no longer received from "localhost"? Like in your example:

Code:
Received: from webmail.klaspad.uk (localhost.localdomain [IPv6:::1])
   by klaspad.uk (Postfix) with ESMTPA id 3300110824FC
   for <mirag2001@yahoo.com>; Mon, 22 Jan 2018 19:14:06 +0530 (IST)

the webmail.klaspad.uk matches localhost.localdomain. As long as there is a localhost name resolution in your sender chain, many recipients will think it is spam.
 
Checked, its still
localhost.localdomain [IPv6:::1])

I have check hostname -f its showing my domain name
 
I have commented ::1 and added our domain name. Still going in spam

Please check this screenshot
Untitled.png

Should i replace all localhost.localhost to our domain name?
 
Your first 127.0.0.1 is redundant, it can be removed. It won't affect the mail issue though.

When you now send an e-mail to the recipient, how does the header look after the host name and name resolution changes? Does it still include a "received from localhost" or similar entry?
 
Last edited:
Thanks peter for you help. Emails are going fine now except hotmail.com. Tried different email services but Hotmail seems to not accepting emails from anywhere. Any suggestion on this?
 
Back
Top