-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DKIM still fails in 6.1.2 #1889
Comments
[EDITED] OOPS... misread opening post, see new post below |
Hi XL, that's because you looked at the example from 6.0.7. Below it I posted the result from the same message sent with 6.1.2. and that's not valid: 0.1 HTML_MESSAGE BODY: HTML included in message |
Sorry Chris, My local run testing against SpamAssissin resulted in:
|
Hi, |
Can you give it a try using SMTP to localhost? All it requires is adding |
No, I do not have a local mail server (it's a simple webspace from Host Europe). |
Yep, sending via SMTP works, DKIM is valid. |
That's good. There were many other problems with DKIM in 6.0.7 - see #1860 and related issues in #1525. I'm not sure exactly what is breaking DKIM with |
Thanks for the information. So I'll try to use SMTP whenever possible. |
@Synchro , not really sure that mine is the same issue, as 6.1.1 is working for me. But fixing the whole DKIM thing might be good enough for now ;-) |
DKIM signature does not work when static::$LE=="\n" Here are the messages I got, using PHPMailer/DKIMValidator:
I spent a whole day to understand and track the issue in the code. My pull request #1962 I tested locally using "mail" on MacOS, using PHPMailer/DKIMValidator, and it works just fine. |
Can everyone in this thread please give the version in the master branch a try - thanks to @F10CH and others these DKIM issues should be resolved, but it would be good to have further confirmation. |
Hi, I can confirm it now works with Sendmail and SMTP! |
Hi, I tested it with Sendmail. It works now! Thanks. |
I went back to 6.0.7 before where DKIM is valid and now tested again with 6.1.2 - still the same problem with invalid DKIM.
Does 6.1.x need some additional configuration or is it a bug?
Sent with 6.0.7:
X-Mailer: PHPMailer 6.0.7 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_KjlYtTgeEOdl1qvch7y5awwrfGICJ5RThTBUeyrQ"
Content-Transfer-Encoding: 8bit
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1790; s=fda;
t=1573676928; c=relaxed/simple;
h=From:To:Date:Subject;
d=mydomain.de; i=[email protected];
bh=uMhFirT2E90PLxh5pYwoKsmqrzPEJigVlFrRVfzCAVM=;
b=LU4p9Ut5kc64X0AGfT/AFMwdAbI58SpfVCiZhV6j4bSntfs28+4PemkjLpdaJ6NafXX69bKBvJIF+tZz6Upy3JyxxC8kwf0GyUtgEDfJ1UMkkbyJhOdCjKW/YOPTkeoI4Fy/KuKuKRpDtR1cTLqyvAg3/eOHv/+dgFbv/8cKv+xFcZmBJJwFKVvn6kD7vRuUxzMtywBJT3AmkEqibZKe+eNPiXhAFBWwzcX/G/tn6qoSjJ0QDrYeQnIOBvGzPNBN6MbhXMG17ZPpC7QRjp2q3V6Gq44PInSBjGcdJJ8N326cNnGQI2RYazcisrg0jA1vbUNP346Iemrjz6ony4pAJQ==
X-bounce-key: webpack.hosteurope.de;[email protected];1573676928;32484aaf;
X-HE-SMSGID: 1iUzFw-0001A1-Mh
X-HE-Virus-Scanned: Yes
X-HE-Spam-Level: /
X-HE-Spam-Score: 0.9
X-HE-Spam-Report: Content analysis details: (0.9 points)
pts rule name description
1.0 HTML_IMAGE_ONLY_16 BODY: HTML: images with 1200-1600 bytes of
words
0.1 HTML_MESSAGE BODY: HTML included in message
0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
valid
-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
envelope-from domain
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
author's domain
0.0 TVD_SPACE_RATIO No description available.
X-HE-SPF: PASSED
Envelope-to: [email protected]
This is a multi-part message in MIME format.
--b1_KjlYtTgeEOdl1qvch7y5awwrfGICJ5RThTBUeyrQ
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Sent with 6.1.2:
X-Mailer: PHPMailer 6.1.2 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_E9l25jGUbOVahJT0PYIOhAZcIrDhOd9BhBxl48Zx2lI"
Content-Transfer-Encoding: 8bit
DKIM-Signature: v=1; d=mydomain.de; s=fda;
a=rsa-sha256; q=dns/txt; l=1799; t=1573677099; c=relaxed/simple;
h=Date:To:From:Subject:Message-ID:X-Mailer:Content-Type;
i=[email protected];
bh=fQAADVDszXOQ7442hTEKYhWcS63JV23RY7VKLT0ctgU=;
b=xY/kIxAeseCFJy9zw/e3m6ldnZpUOam3B7F7/xPi3353T3n76Hd3GsvqwleJ1TmokUyECM22W
xYe7UxfaopaB2T4cZg6yuyb7h799qDW79RoN/NZ2knEjTXCqMlomfZMNdTEDu68cbfohvdfST
b+xXEfa1Vx/mpxmrdI1NKAycc/AuuB1IMzlz8pehxN2UQFlk6s0klCEQXy3qpYw5TglHpsjsP
w7wKWSQB16vwuodpKHFTmpONMdOWjIRtD+K8vHqwawPBVjBs2OPTbDDRXbIr89yTSbebCyMQU
7m2GWRBjKuNwWIYdRPyqCGlzeDz5jlr8QplkqqaDzRwSpk954Q==
X-bounce-key: webpack.hosteurope.de;[email protected];1573677099;19ed546b;
X-HE-SMSGID: 1iUzIh-0001eG-BS
X-HE-Virus-Scanned: Yes
X-HE-Spam-Level: +++
X-HE-Spam-Score: 3.8
X-HE-Spam-Report: Content analysis details: (3.8 points)
pts rule name description
0.1 HTML_MESSAGE BODY: HTML included in message
1.0 HTML_IMAGE_ONLY_16 BODY: HTML: images with 1200-1600 bytes of
words
0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
valid
0.1 DKIM_INVALID DKIM or DK signature exists, but is not valid
0.0 TVD_SPACE_RATIO No description available.
2.5 TVD_SPACE_RATIO_MINFP Space ratio
X-HE-SPF: PASSED
Envelope-to: [email protected]
This is a multi-part message in MIME format.
--b1_E9l25jGUbOVahJT0PYIOhAZcIrDhOd9BhBxl48Zx2lI
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Thanks for taking a look
Chris
The text was updated successfully, but these errors were encountered: