OwenC

Member
Oct 23, 2019
15
1
3
1Hopkins!
cPanel Access Level
Root Administrator
HI all... Been around a looong time, but here is my first post....
I got a lot of email problems at the moment, but I'll just need to work thru them one at a time...

SO my first hurdle is.. I'm trying to get DKIM working properly.
My Domain Name registrar only allows 256 bit txt records, which MUST be enclosed in quotes.
When I use the SPLIT function in cPanel, the first part of the record ends up at 258 characters.
Why.. because there are two spaces.. v=DKIM1; k=rsa; p=MIIBI one between the ; and k and one between ; and p.

Assuming it's safe to remove the spaces, and after a lot of "trial and error", I find I can get a "Green Light" in the MXtoolbox DKIM test IF I insert
"v=DKIM1; k=rsa; p= at the start of the SECOND part of the split.
Mind you, I can NOT get a good result from DKIM testers on dmarcanalyser.com or mail-tester.com in any case.

Please point in the correct direction!
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
So, registrars and DNS hosting providers alike should be starting to support more complex DKIM signatures but for the ones that don't splitting them is the only recourse.

We have had some other threads where the users were able to successfully split the record:

I'd suggest looking through those, maybe the split was configured incorrectly?
 

QAZwsxED

Member
Oct 4, 2020
9
0
1
Australia
cPanel Access Level
Website Owner
I recently solved a similar issue.
Solution: manually add a Message-Id (note not a Message-ID) header then connect and send an email.
cPanel WHM adds a Message-ID header and re-arranges the 'h' record in the DKIM signature which invalidates it, causing a DKIM:fail in the recipients mailbox.