SOLVED Adding Google's DKIM to cPanel account?

vexx

Member
May 1, 2012
17
2
53
cPanel Access Level
Root Administrator
Hey there,

My email is configured throught Google Suite and I have a hard time authenticating emails with DKIM. I'm also using a 3rd party DNS which has the DKIM TXT records added correctly. However, in cPanel, the account tells me that there's not DKIM added to the DNS records and I should add them in my 3rd party DNS. The DKIM provided by cPanel is default._domainkey.site.com not google._domainkey...

I want to use Google's DKIM record (which I also added into my DNS), but I can't edit anything related to DKIM on the cPanel account. I just don't know what must I do to authenticate my emails.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @vexx,

The DKIM records you configure on the cPanel & WHM server will not affect the live DKIM DNS records or the DKIM keys used if both email and DNS are hosted on a remote server for the domain.

You'll want to ensure that Remote Mail Exchanger is selected for this domain in cPanel >> Email Routing.

Thank you.
 

vexx

Member
May 1, 2012
17
2
53
cPanel Access Level
Root Administrator
Hey @cPanelMichael

I've already configured to be the Remote Mail Exchanger. However, the DKIM is simply not sent in the mail headers. And also, the mail headers state that the mail was sent by "Received: from user by server.domain.com with local (Exim 4.92)"

If I use any 3rd party email apps such as Outlook or Mailbird, the mails are sent just fine using the same SMTP and DKIM is sent.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @vexx,

Could you open a support ticket so we can take a closer look at the server to see what's happening? You can post the ticket number here and we'll link this thread to it.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello @vexx,

I'm glad to see you were able to solve the issue. Thanks for sharing the outcome.

Also, is there a particular configuration value for PHPMailer that others should look out for when facing the same issue?