DKIM Alignment for Outbound Mail via cPanel (Multiple Domains)
Hi all,
I'm trying to get my head around DKIM alignment for a specific setup.
Setup:
- We have a hosted ERP that routes outbound email through a cPanel mail server.
- The emails are sent from and return address as customersdomain.com.
- SPF and DKIM pass, but DKIM fails alignment because the message is signed by the ERP domain, not customersdomain.com.
What I'm Trying to Achieve:
- I understand that to align DKIM, I need to generate a unique DKIM key pair for each customer domain within cPanel.
- The customer would then add the ERP-generated DKIM public key to their domain's DNS records.
- This should allow emails sent via the ERP to be signed correctly as customersdomain.com, ensuring DKIM alignment.
The Issue:
- cPanel seems to only generate and manage DKIM for its hosted domains, not for external domains like customersdomain.com.
- I couldn’t find specific documentation on manually configuring DKIM for multiple external domains within cPanel.
Question:
- What is the correct way to set up multiple DKIM signatures in cPanel for sending emails on behalf of different domains?
- Does cPanel natively support this, or do I need something else?
Any guidance or documentation references would be greatly appreciated!
Thanks in advance.
-
I think I found my answer.
0 -
Hey there! There is no reason I DNS zone can't have multiple DKIM records, as cPanel will create DKIM records for subdomains as necessary. However, you can't have a record for domainB.com inside of domainA.com's zone file as that won't be checked as that just isn't how the DNS works.
Is there a forwarding setting you can apply on the ERP side of things? I don't see a way to get this working on the cPanel side of things, but only tools that perform similar behavior (such as smarthosts - https://support.cpanel.net/hc/en-us/articles/360052412573-How-to-configure-a-third-party-smarthost-for-your-cPanel-server) handle this gracefully.
0 -
Thanks cPRex
I think I'm essentially trying to make cPanel the smarthost whilst maintaining DKIM alignment as other smarthost providers offer as part of their service.
So perhaps that the better way of asking the question. Is this possible?
0 -
With my current understanding of the situation I'm going to say "no, it's not possible within the limits of the cPanel tools" as this just isn't something we intended to be configured on the cPanel side of things.
0
Please sign in to leave a comment.
Comments
4 comments