Setting up OpenDKIM for multiple hosting clients
I'm running CentOS v.7.9.2009, and WHM v.110.0.15. I know they're both EOL, but it's going to take some time to update the OS.
I'm trying to set up a signed DKIM for my emails, and I'm following the steps here:
But this explicitly just sets everything up for one domain name (presumably the domain linked to the server name).
All of my hosting clients use their own outgoing mail server (eg, mail.foo.com, mail.bar.com, etc). How do I modify the OpenDKIM settings so that they're all properly signed, but can't send from one another's account?
-
Hey there! Since this isn't related to the cPanel tools, I won't be able to answer this one for you. Is there something that our implementation of DKIM isn't doing that you need? Details on that can be found here:
https://docs.cpanel.net/cpanel/email/email-deliverability-in-cpanel/
https://docs.cpanel.net/whm/dns-functions/enable-dkim-spf-globally/0 -
I had originally used easydmarc.com to set up a DKIM value and it seemed fine, but all of my emails to Gmail or Yahoo still go to the user's spam folder. I'm trying to improve that, and all I've found are vague references to needing a DKIM signer... which led me to finding OpenDKIM.
I clicked to implement DKIM as per the article, but it's been 3 hours and I haven't seen anything change. It said that it would update error_log when it's done (why error_log?), but there's nothing there, either.
How do I know when it's done?
0 -
It shouldn't take long at all, unless we're talking thousands of zones. I'd just manually check a DNS zone to see if the DKIM record has been added.
0 -
I'm using Cloudflare for the DNS, and use Gmail for my email. Meaning, email to my domain is forwarded to Gmail, and in Gmail I "send mail as" using mail.mydomain.com
I copied the DKIM from cPanel to Cloudflare, and then clicked "Install the suggested record". I was given this very stern warning:
If you send email from another server, you must use this server’s DKIM key on the remote server.
Since I'm using Gmail to send, but through my own mail server, this is still OK? Right?
0 -
Yes, the record needs to be configured wherever the DNS is hosted.
0 -
While we're on the subject, how do I get Sendmail (/usr/sbin/sendmail) to send emails with DKIM?
0 -
If the email sends with authentication, which it should, it would use the DKIM on the sending domain. You can find out more about setting up Sendmail with authentication here:
https://www.ibm.com/support/pages/configuring-sendmail-use-username-and-password-authentication
0 -
I apparently don't have NPS (ie, no /nz directory),and couldn't find what that even is :-O So I gave up and rebuilt everything using Net::SMTP.
The script is working, the email is delivered and shows that SPF, DKIM, and DMARC has passed. And WHM's Delivery Report says that the email has a spam score of -1. But it's still delivered to the spam folder :-/
Blerg. Not a cPanel problem now, I guess.
1
Please sign in to leave a comment.
Comments
8 comments