Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

DKIM support for custom selector

Estel Technologies shared this idea 10 years ago
Not Planned

Hi,


As per the basic Exim configurations provided by cPanel,

only DKIM with the default selector will be recognized, however lots of domains are using a custom selector.


In order to accept the custom selector, we would need

to modify the Exim configurations and we wish to open a feature request.


Please do the needful to help us on priority.


Thanks and regards

Charan

Replies (11)

photo
2

Would love this, as Dkim requires a different selector than "default" for some sites.

I had problems with godaddy always telling me to "tell the selector" when using default.

I made a exim4 configuration tweak to use the domain name instead of default and it works.

photo
1

I think I am using your tweak "dkim_selector = ${dkim_domain} " have you found a way to make it permanent so when exim gets updated it doesn't change it back to "default"?

photo
photo
1

I would very much like to see this happen as I run an Autoresponder Service and Yahoo wants to know the selector being used and they do not accept "default" as the selector hense mail doesn't go through.

photo
1

I agree. This becomes a real issue rather than a minor annoyance in the event of trying to send mail for the same domain from two different cpanel servers.


If one has root access, then they can edit the keys to match, but this is not "according to Hoyle" and while it would be technically feasible as a work-around, it does present some issues.


And if the case of operating in a shared hosting environment, this would not be possible at all, since to change the default selector would change it for everyone on the server.

photo
1

Would like to add my voice to this. I use G Suite for Business and would like to use its DKIM key for to cover any outgoing messages from my web site running on the cPanel server. Without being able to tell cPanel that I'm already using a DKIM selector and key, this makes it rather difficult to ensure that everything I send is compliant.

photo
3

Maybe I misunderstand your comment, because as I understand what you are wanting to do, you wouldn't need this feature to accomplish that. You set the public key for DKIM in your DNS settings, using the one provided by Google. All email sent through Google's servers would validate using the Google DKIM settings. You would only need the cpanel DKIM if you send some email from your server (i.e., scripts that send mail through sendmail). For that, you would add the cpanel DKIM which uses a different selector. You wouldn't be able to use the Google DKIM to validate mail sent from your own server, no matter what features cpanel might add, because you will not have access to the Google private key.

photo
1

Gah - yes, you're right Kevin. I had no idea why or how I'd forget about the private key in all of this.

photo
photo
1

I'll agree with this... If you have another mail system that also "forces" default, now you have two places telling you that the only selector you can use is "default" for your domain. Whichever service you need the most, wins out. Example: cPanel forces default._domainkey and Mailchip forces default._domainkey. You're either using your mailing list service and shutting down the webform on your website, or vice-versa.

What I propose, is to add a unique hash at the end of the selector and change the selector from default to cpanel. This would queue someone who houses DNS on another nameserver, that the domainkey is coming from a cpanel generated server. G Suite (Google Apps) uses google._domainkey BTW.

For example of a hash setup:


  1. cpanel9340ef24._domainkey

The domain key is unique to the domain, so there's no reason that I know of where it can't be a unique hash value. Adding the hash, would allow someone to better check against cpanel and the key they're currently using (assuming NS is offsite) as opposed to looking at the key itself to see if they're different. You can simply glance at the selector to verify: "Yup, selectors are the same, so the key's between cpanel and godaddy are the same" or "Nope, the selectors are different, so I need to update Godaddy".

First item of business though, is to re-design the email authentication page so we actually have access to ALL of the addon domain DKIM keys. Only being able to briefly "see" the primary account DKIM key, doesn't help with 10 addon domains when each addon domain has it's own unique key generated, but we can't even see them.

photo
1

Add my vote, too. My organization maintains multiple cPanel servers and we often have more than one server that is sending e-mail for a particular domain. (Usually during an account transition, but occasionally for longer periods.)

The ideal solution would be for cPanel to properly impelement DKIM to allow us to specify our own selectors. Then it would be trivial to add each server's selectors to the separately-maintained zone files. The outgoing messages would be signed by each server with their own keys and selectors, and the messages would validate against the DNS records.

Right now, the only way we can handle this is through behind-the-scenes synchronization of each domain's DKIM public keys between the servers, as stored in /var/cpanel/domain_keys/private and /var/cpanel/domain_keys/public.

This isn't ideal, and it certainly doesn't conform to DKIM's stated purpose for selectors: "selectors are used to permit multiple keys under the same organization's domain name. This can be used to give separate signatory controls among departments, date ranges, or third parties acting on behalf of the domain name owner."

photo
3

Hi cpanel team, it has passed 5 years since this idea, and it is really important, but no feature for this yet.

Any update on this subject ?

photo
2

Thank you, Tabby. We really need this to be implemented according to the DKIM specification ASAP. We know you don't have a time machine, but this really an issue that needs attention.

photo
photo
3

I'd consider this a bug. Hard to say dkim is supported or fully implemented when dkim selectors are supposed to be arbitrary.

photo
1

Still causing headaches for those needing to send email from multiple cPanel hosts. We're performing a migration. Would love to have new host fully provisioned and tested before updating DNS, but it appears that is impossible.

photo
1

We would like to implement this issue, but it hasn't been taken on by a development team just yet. If that does happen, they'll be sure to post an update here, but I don't have anything to add at this point.

photo
5

It's been 8 years since we asked this dude.


Pretty sure those who wanted this have moved on or found workarounds.


8 years.. Unbelievable...

photo
4

Yep. We've moved on to another solution and are now very happily (and much more economically) using essential features such as this one which still sits here as an ignored request.

photo
5

Absolutely insane - especially that we're talking in "if" not "when"

"We would like to implement this" - cool, then do it

photo
1

Sorry about the confusion - I definitely could have been more clear.

While we like the idea, it's not currently on the road map for any development team. Since that is the case, I'm going to switch this one over to "not planned"

photo
4

That’s even worse. It makes the system borderline unusable, and there’s no plan to fix it?!

photo
1

@LBJ, what solution have you moved to?

photo
1

@ft

https://webuzo.com/demo/

Mods, please feel free to delete this post if you deem it inappropriate. I didn't want to just ignore the question from @ft

photo
Leave a Comment
 
Attach a file