all the emails going to spam

Nishant80

Well-Known Member
May 7, 2012
64
0
56
cPanel Access Level
Root Administrator
Hey guys,
I recently got a new dedi and configured it with cPanel. Everything seems to be working fine but there is a major issue with emails. Each and every email sent out from the server goes to spam of major providers like live, gmail etc.

I checked the IP and it is not blacklisted anywhere. I have named my server like something.mydomain.com. Does that cause any issues with email? Does it have to be actual domain and not a subdomain?

What could be the possible reason?
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
A server must have a hostname, like something.mydomain.com, a hostname can NOT be a domain, like mydomain.com.
The server's hostname must resolve to the main IP address of the server, and that IP address must resolve to the hostname of the server.
 

Nishant80

Well-Known Member
May 7, 2012
64
0
56
cPanel Access Level
Root Administrator
A server must have a hostname, like something.mydomain.com, a hostname can NOT be a domain, like mydomain.com.
The server's hostname must resolve to the main IP address of the server, and that IP address must resolve to the hostname of the server.
Yes, I understand that. Let me explain it in details. Assume my domain is domain.com and server's address is server.domain.com.

Domain.com is hosted with Hostdime (data center) and I purchased a new server with another data center. Now I created an A entry at domain.com for server.domain.com. It pings all good, I get reply, all the sites are working fine with the nameservers.

So I don't think its something to do with Domain and neither IP (I already checked the blacklisting). What else could it be?
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
Especially with mail servers it is very important that the reverse dns of the ip is working.
 

Nishant80

Well-Known Member
May 7, 2012
64
0
56
cPanel Access Level
Root Administrator
I just went through SOURCE of one of my emails that landed into spam of my outlook.com and gmail.com. It mentions:

spf=temperror (sender IP is xx.xx.xxx.xxx) [email protected]; dkim=temperror

I checked account and SPF as well as DKIM is enabled.