Update DKIM to use Server Hostname

RalphOtowo

Member
Jan 14, 2019
7
0
1
Nigeria
cPanel Access Level
Root Administrator
I have just switched providers to AWS and I'm setting up emails to be sent from AWS. I've correctly setup SPF, DKIM, DMARC and rDNS, all confirmed to be fine but my emails continue to hit the recipient's spam. This wasn't the case on the previous host where the emails would deliver to the user's inbox as expected.

After some debugging and research, I found that the mail server is set to server.obscureddomain.com, however it's signing the emails (DKIM) for obscureddomain.com - I've come to understand this could be the issue and would like to have the emails signed for server.obscuredomain.com, instead of the current obscureddomain.com

Please how can I achieve this on WHM v80.0.22?
 

RalphOtowo

Member
Jan 14, 2019
7
0
1
Nigeria
cPanel Access Level
Root Administrator
HI @Infopro, thanks for your reply. I'm aware of the feature to generate DKIM for the hostname, this has already been done. I apologize if my issue wasn't clear. The server's (mail server) hostname is server.obscuredomain.com however emails are being signed by obscuredomain.com, not the server.obscuredomain.com - I would like the emails to be signed by hostname DKIM, not the specific cPanel account's DKIM. I hope that's clear.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
After some debugging and research, I found that the mail server is set to server.obscureddomain.tld, however it's signing the emails (DKIM) for obscureddomain.tld - I've come to understand this could be the issue and would like to have the emails signed for server.obscuredomain.tld, instead of the current obscureddomain.tld
Hello @RalphOtowo,

I'm hesitant to conclude that signing the email as the sending domain (instead of the hostname) is the culprit here without further investigation. Do you mind submitting a support ticket so we can take a closer look at the server and see what could be leading to the SPAM flags? You can post the ticket number here and I'll link this thread to it.

Thank you.