Whitelist for DKIM verification in WHM?

Ovidiu Sopa

Member
Jun 19, 2017
11
1
3
Sibiu, Romania
cPanel Access Level
Root Administrator
Hello,

In the last few days I tried to find the issue one of my clients has, he can't receive emails from 2 suppliers because the server rejects the emails with this error :
Code:
+++ 1hlsBn-0001Lu-Ki has not completed +++
2019-07-12 12:50:04 1hlsBn-0001Lu-Ki PDKIM: d=me**-i**ge.ro s=pps1 [failed key import]
2019-07-12 12:50:04 1hlsBn-0001Lu-Ki H=mx0a-00259c01.pp**ted.com [148.163.157.101]:45830 X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no rejected DKIM : DKIM: encountered the following problem validating me**-**age.ro: pubkey_dns_syntax
The thing is I can't find anything wrong with the sender domain DKIM, MX ToolBox says is valid: Network Tools: DNS,IP,Email

I tried to add the IP address of the sender in Sender verification bypass IP addresses and in Trusted SMTP IP addresses lists in WHM, but the emails are still rejected. I don't really want to disable REJECT DKIM FAILURES, but instead I would love to be able to add the sender IP in a whitelist, but I don't know if it's possible.

Can I somehow setup WHM to skip DKIM validation from certain IPs ?

Thank you
 
Last edited by a moderator:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,254
313
Houston
Hi @Ovidiu Sopa

It looks like what's being received in the lookup for the domain is a syntax issue with the public key for the DKIM record. Unfortunately, if you have reject DKIM failures I'm unaware of a way to bypass that check for specific domains at this time. Initially I believed that Trusted SMTP IP addresses should be exempt from this check since I believed it to be considered a "Sender Check" but that is not the case.
 
Last edited: