I just took over a recently installed server that one of my colleagues installed.
I immediately noticed that there is a problem with mails staying too long in the queue.
After some investigations of logs I saw that big networks ( yahoo, qq , gmail ) are rejecting SOME mails temporarily while receiving others. Generally speaking mails going out from set accounts from within the webmail interface are ok. scripted (php) mails not so much - and also cpanel/whm notifications arrive with few hours delay - sometimes also blocked.
I checked the Home>>Email>>Email Deliverability page and in fact there was problem reported .
and :
And a very similar one for PTR :
[[ the xxx.180.xxx.xx.vultr.com is actually my.ip.address.vultr.com ]]
At this point I started suspect that it is a DNS problem, and as it turned out, during the initial setup my colleague has gave it the hostname of host.mydomain.gLTD but has input ns1.vultr.com and ns2.vultr.com as the name server ( vultr is a VPS host where the server host.mydomain.gLTD is installed ). He also added an addon domain with the same mydomain.gLTD as the main host.mydomain.gLTD (which by itself should not be a problem i think )
The server has it's own ns1.mydomain.gLTD, and ns1.mydomain.gLTD, that I assume were setup by WHM upon install because my colleague did not know nothing about them - but it is my opinion that these need to be the server's main resolver / DNS and NOT those of vultr...
I have searched here on the forums and in the documentation, but I am still not 100% clear on how to resolve this problem and what are the ramifications / consequences of it. I am not even 100% sure that in fact the DNS is the problem that is causing mails to be labeled as spam.
Everything else seem to work fine for now ( the server have circa 30~40 domains, parked, and addons)
I am a bit worried about fiddling with DKIM and SPF etc. because they are not super simple and I know next to nothing about the syntax or how they work.
Is wrong DNS in fact the main problem ? ..and if so - What are the correct steps to fix it?
What is my correct course of action here? what should I do first and how ?
( I am not sure if this qualifies as mail problem, DNS problem, or general configuration problem - So I just posted it under general discussion. sorry if it is the wrong place. )
Edit I:
I found a webpage describing some possible steps to change name servers - are those steps correct ? will it get me closer towards resolving the problem?
I immediately noticed that there is a problem with mails staying too long in the queue.
After some investigations of logs I saw that big networks ( yahoo, qq , gmail ) are rejecting SOME mails temporarily while receiving others. Generally speaking mails going out from set accounts from within the webmail interface are ok. scripted (php) mails not so much - and also cpanel/whm notifications arrive with few hours delay - sometimes also blocked.
I checked the Home>>Email>>Email Deliverability page and in fact there was problem reported .
Code:
Domain
host.domain.gLTD
DKIM PROBLEMS EXIST
A “DKIM” record does not exist for this domain.
This system does not control DNS for the “host.mydomain.gLTD” domain. Contact the person responsible for the “ns1.vultr.com” and “ns2.vultr.com” nameservers and request that they update the “DKIM” record with the following:
Code:
SPF PROBLEMS EXIST
A “SPF” record does not exist for this domain.
This system does not control DNS for the “host.mydomain.gLTD” domain. Contact the person responsible for the “ns1.vultr.com” and “ns2.vultr.com” nameservers and request that they update the “SPF” record with the following:
.....
Code:
REVERSE DNS (PTR) PROBLEMS EXIST
The system sends “host.mydomain.gLTD”’s outgoing email from the “xxx.180.xxx.xx” IP address. The only PTR value for this IP address must be “host.mydomain.gLTD”. This is the name that this server sends with SMTP’s “HELO” command to send “host.mydomain.gLTD”’s outgoing email.
1 unexpected PTR value exists for this IP address:
[LIST]
[*]xxx.180.xxx.xx.vultr.com
[/LIST]
To fix this problem, replace all PTR records for “10.140.180.139.in-addr.arpa” with the following record at “reversedns.vultr.com”:
....
At this point I started suspect that it is a DNS problem, and as it turned out, during the initial setup my colleague has gave it the hostname of host.mydomain.gLTD but has input ns1.vultr.com and ns2.vultr.com as the name server ( vultr is a VPS host where the server host.mydomain.gLTD is installed ). He also added an addon domain with the same mydomain.gLTD as the main host.mydomain.gLTD (which by itself should not be a problem i think )
The server has it's own ns1.mydomain.gLTD, and ns1.mydomain.gLTD, that I assume were setup by WHM upon install because my colleague did not know nothing about them - but it is my opinion that these need to be the server's main resolver / DNS and NOT those of vultr...
I have searched here on the forums and in the documentation, but I am still not 100% clear on how to resolve this problem and what are the ramifications / consequences of it. I am not even 100% sure that in fact the DNS is the problem that is causing mails to be labeled as spam.
Everything else seem to work fine for now ( the server have circa 30~40 domains, parked, and addons)
I am a bit worried about fiddling with DKIM and SPF etc. because they are not super simple and I know next to nothing about the syntax or how they work.
Is wrong DNS in fact the main problem ? ..and if so - What are the correct steps to fix it?
What is my correct course of action here? what should I do first and how ?
( I am not sure if this qualifies as mail problem, DNS problem, or general configuration problem - So I just posted it under general discussion. sorry if it is the wrong place. )
Edit I:
I found a webpage describing some possible steps to change name servers - are those steps correct ? will it get me closer towards resolving the problem?
Last edited: