Results 1 to 8 of 8

Thread: DKIM Enable in cPanel overwrites any existing DKIM DNS records without warn

  1. #1
    Member
    Join Date
    Jun 2012
    Posts
    12
    cPanel/WHM Access Level

    Root Administrator

    Question DKIM Enable in cPanel overwrites any existing DKIM DNS records without warn

    Hi everyone

    I've been running DKIM for a few years for several customers and because this feature had never been present in cPanel. For my DKIM domains I route all outbound mail through a private postfix relay VPS (through an SSH tunnel) instead of using cPanel to send mail.
    On my the private relay I had opendkim doing the signing of the outbound mail and had the DNS records setup in WHM. It worked really well.

    I realised that there were now some DKIM options under "Email Authentication". So I enabled DKIM on my personal test cPanel and my existing DKIM records in DNS appear to have been replaced. Without warning.

    I assumed that the "Enable" button would provide further options to enable it on a per-domain basis and provide the private keys.
    Not that it would enable it globally for all domains in that cPanel, overwriting any existing DNS records.

    The reason I assumed that it wouldn't overwrite the existing DKIM DNS records is that there's an checkbox to "Overwrite Existing Entries" in the SPF section directly below.

    You should be able to enable/disable DKIM on a per-domain basis through cPanel.
    You should be given an option to overwrite existing DNS records, making it consistent with the SPF options on the same page.
    An ADSP DNS record should (optionally) be created per RFC 5617

    Anyone else discovered this the hard way?

    Cheers, B

  2. #2
    Member
    Join Date
    Jun 2012
    Posts
    6
    cPanel/WHM Access Level

    Website Owner

    Default Re: DKIM Enable in cPanel overwrites any existing DKIM DNS records without

    Quote Originally Posted by batfastad View Post
    Hi everyone

    I've been running DKIM for a few years for several customers and because this feature had never been present in cPanel. For my DKIM domains I route all outbound mail through a private postfix relay VPS (through an SSH tunnel) instead of using cPanel to send mail.
    On my the private relay I had opendkim doing the signing of the outbound mail and had the DNS records setup in WHM. It worked really well.

    I realised that there were now some DKIM options under "Email Authentication". So I enabled DKIM on my personal test cPanel and my existing DKIM records in DNS appear to have been replaced. Without warning.

    I assumed that the "Enable" button would provide further options to enable it on a per-domain basis and provide the private keys.
    Not that it would enable it globally for all domains in that cPanel, overwriting any existing DNS records.

    The reason I assumed that it wouldn't overwrite the existing DKIM DNS records is that there's an checkbox to "Overwrite Existing Entries" in the SPF section directly below.

    You should be able to enable/disable DKIM on a per-domain basis through cPanel.
    You should be given an option to overwrite existing DNS records, making it consistent with the SPF options on the same page.
    An ADSP DNS record should (optionally) be created per RFC 5617

    Anyone else discovered this the hard way?

    Cheers, B
    Related:

    http://forums.cpanel.net/f43/cpanel-...ed-280441.html

    You're right. The way DKIM is implemented is really weird. REALLY weird.

  3. #3
    Member
    Join Date
    Jun 2012
    Posts
    12
    cPanel/WHM Access Level

    Root Administrator

    Default Re: DKIM Enable in cPanel overwrites any existing DKIM DNS records without

    Yeah I thought it was completely bizarre to overwrite the DNS records, especially for domains that are configured for external mail.

    I just wanted to check that what I was seeing was the designed behaviour.

    Cheers, B

  4. #4
    Registered User
    Join Date
    Mar 2012
    Posts
    2
    cPanel/WHM Access Level

    Website Owner

    Default Re: DKIM Enable in cPanel overwrites any existing DKIM DNS records without

    Quote Originally Posted by batfastad View Post
    Yeah I thought it was completely bizarre to overwrite the DNS records, especially for domains that are configured for external mail.

    I just wanted to check that what I was seeing was the designed behaviour.

    Cheers, B
    Well maybe check this out DomainKeys Identified Mail (DKIM) Signatures - Unlock The Inbox

  5. #5
    Member
    Join Date
    Jun 2012
    Posts
    12
    cPanel/WHM Access Level

    Root Administrator

    Default Re: DKIM Enable in cPanel overwrites any existing DKIM DNS records without

    Quote Originally Posted by justintoxicated View Post
    Right, I understand how it works and how to construct a DKIM record. I've been doing it manually for years! I just thought it was strange the way cPanel would overwrite existing DNS records without any warning.

    Or do you mean the part where it says...
    it's time to look for a different software package that is up to date with current email standards


    Cheers, B

  6. #6
    Member
    Join Date
    Jun 2012
    Posts
    6
    cPanel/WHM Access Level

    Website Owner

    Default

    Quote Originally Posted by justintoxicated
    The way cpanel DKIM (and SPF) is implemented still suffer.
    This is nice but doesn't fix the issue.

    Sent from my HTC Desire using Forum Runner

  7. #7
    Registered User
    Join Date
    Jun 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default Re: DKIM Enable in cPanel overwrites any existing DKIM DNS records without

    Hi,

    Quote Originally Posted by batfastad View Post
    For my DKIM domains I route all outbound mail through a private postfix relay VPS (through an SSH tunnel) instead of using cPanel to send mail. On my the private relay I had opendkim doing the signing of the outbound mail and had the DNS records setup in WHM. It worked really well.
    That sounds like a lot of work, what kind of time delays or mail queue backups resulted from this? I use Exim to send to larger lists.

    Do you think the current implementation would work if the only account/domain on the cPanel setup is a mail server, and I turn it on? I'm interested in seeing how it may affect delivery rates, as mine have been very poor lately, though if I check through senderscore or emailreach I'm fine.

    Thanks,
    cPO

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: DKIM Enable in cPanel overwrites any existing DKIM DNS records without

    Hello,

    If you believe the current implementation could be changed to account for this, I'd suggest posting a feature request to give the option to rewrite the existing entries or not like SPF has. Feature requests can be posted at Feature Requests for cPanel/WHM

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. Enable Dkim for my existing account WHM 11.32
    By imeyer in forum E-mail Discussions
    Replies: 2
    Last Post: 01-17-2013, 05:14 AM
  2. Enable DKIM and SPF on account creation
    By easyali in forum cPanel Developers
    Replies: 3
    Last Post: 10-06-2012, 06:59 AM
  3. DKIM Records in CPanel User Account - For External DNS
    By srpurdy in forum Feature Requests for cPanel & WHM
    Replies: 1
    Last Post: 03-19-2012, 07:38 PM
  4. Replies: 1
    Last Post: 11-21-2011, 06:02 PM