DKIM with remote mailserver
We have three VPS's, all WHM/cPanel, two for hosting websites with a remote mail exchanger and one acting as mailserver for these domains.
The settings on the mailserver are thus that we get 10/10 on mail-tester sending mails directly from the mailserver. However, when we send a mail via a PHP-script on one of the webservers performance drops drastically: DKIM signature is invalid.
The DKIM private key from the webserver is send with the mail (basic PHP mail() function), but the public key from the mailserver is in DNS. So there is a mismatch. That is what we think at least.
What is the simplest way to overcome this problem? Make an additional public key in DNS and send the selector for this new key with the mail? But then we have to get away from the basic PHP mail () function probably?
-
Hello, Please let us know if the information on the following thread helps to address this issue: E-mail Return-Path, envelope and dkim domain are set to the root domain Thank you. 0 -
I don't think so, DMARC is fine, we only have the problem that the DKIM private key that is sent with the message from a script on the webserver via the mailserver doesn't match with the DKIM public key that is communicated via DNS by the mailserver. And that is costing points. 0 -
Hello, Are you using the DSO handler for PHP? If so, please note the following from the
Let us know if this helps. Thank you.0
Please sign in to leave a comment.
Comments
3 comments