DKIM for dnsonly hostname
Hello! I don’t know why one of the DNSOnly servers in my cluster isn’t signing emails with DKIM. Is there a way to enable that? I don’t see the “Email Deliverability” option on DNSOnly servers like on full servers.
Thanks
-
-- look at the 5th post, by cPanelMichael
If your DNSOnly server doesn't handle DNS for the primary domain associated with your server, you will then need to publish the new DKIM key to the authoritative DNS servers for your domain.
Example:
domain: example.com
server name: server.example.com
When you follow the instructions in the link, a DKIM record should be added to /var/named/server.example.com
IF your server itself is not authoritative for example.com but some other server is, copy the DKIM key and publish it in your authoritative nameservers. It would be something like:
To publish it in the DNS zone of your domain (example.com), you would need to add it like this:
default._domainkey.server.example.com. IN TXT "v=DKIM1; blahblahblahblah"
0 -
Hey hey! Currently there is not a way to get DKIM working on a DNSOnly machine. I found an older thread where I talked about a case being created:
https://support.cpanel.net/hc/en-us/community/posts/19133314947223-DKIM-on-DNSONLY
but that hasn't seen any action.
I've reached out to that particular team to see if we can give that priority as DKIM is now more critical than ever.
0 -
Yes, nowadays it’s essential for emails to reach their destination. Thanks for the tips, but the steps to enable DKIM seemed very complicated to me. I finally solved it like this.
I edited this file...
/etc/exim.conf.localopts...edited these lines inside it,
smarthost
: mailhost.comsmarthost_port: 587smarthost_user: something@email.comsmarthost_pass: PASSWORD...then ran these commands.
/scripts/buildeximconfsystemctl restart eximAnd that’s it, now the DNSONLY server sends emails using a valid email account. I just hope an update doesn’t wipe out my changes.
It would be great if all cPanel servers, including full servers, allowed configuring an SMTP in web Interface to send the server’s own emails.
0 -
If you edited localopts it *shouldn't* get wiped out from an update, but I'm hoping for more official DKIM support in DNSOnly in the future through that case.
0
Please sign in to leave a comment.
Comments
4 comments