My domain is sending mails from two different VPS, cPanel/WHM is installed on both VPS.
The domain is also using a third party DNS, (not cPanel/WHM DNS)
I want to enable DKIM for outgoing mail authentication on both VPS, hence I went on both cPanel/WHM and turned on "Email > Authentication > DKIM" on both.
Both cPanel asked me to add to the DNS of my domain the following record:
default._domainkey.mydomain.com IN TXT "v=DKIM1; k=rsa; p=...
The problem is that obviously the two private/public key created on the two VPS by cPanel are different, but the DNS record to add to mydomain.com comes with the same name "default._domainkey"
Is there a way to tell cPanel (or at least Exim) to use a different DNS record for DKIM?
In this way I could set:
- VPS1 to send outgoing mail dkim signed that tells the recipient to look at the DNS record "myselector1._domainkey" instead of "default._domainkey"
- VPS2 to send outgoing mail dkim signed that tells the recipient to look at the DNS record "myselector2._domainkey" instead of "default._domainkey"
- Add to my domain's DNS both records:
myselector1._domainkey.mydomain.com IN TXT "v=DKIM1; k=rsa; p=somepublickey1...
myselector2._domainkey.mydomain.com IN TXT "v=DKIM1; k=rsa; p=somepublickey2...
Can I simply change dkim_selector in one of my VPS at "WHM > Service Configuration > Exim Configuration Manager > Advanced Editor"?
BTW: there is also a feature request for this: DKIM support for custom selector
The domain is also using a third party DNS, (not cPanel/WHM DNS)
I want to enable DKIM for outgoing mail authentication on both VPS, hence I went on both cPanel/WHM and turned on "Email > Authentication > DKIM" on both.
Both cPanel asked me to add to the DNS of my domain the following record:
default._domainkey.mydomain.com IN TXT "v=DKIM1; k=rsa; p=...
The problem is that obviously the two private/public key created on the two VPS by cPanel are different, but the DNS record to add to mydomain.com comes with the same name "default._domainkey"
Is there a way to tell cPanel (or at least Exim) to use a different DNS record for DKIM?
In this way I could set:
- VPS1 to send outgoing mail dkim signed that tells the recipient to look at the DNS record "myselector1._domainkey" instead of "default._domainkey"
- VPS2 to send outgoing mail dkim signed that tells the recipient to look at the DNS record "myselector2._domainkey" instead of "default._domainkey"
- Add to my domain's DNS both records:
myselector1._domainkey.mydomain.com IN TXT "v=DKIM1; k=rsa; p=somepublickey1...
myselector2._domainkey.mydomain.com IN TXT "v=DKIM1; k=rsa; p=somepublickey2...
Can I simply change dkim_selector in one of my VPS at "WHM > Service Configuration > Exim Configuration Manager > Advanced Editor"?
BTW: there is also a feature request for this: DKIM support for custom selector