-
Notifications
You must be signed in to change notification settings - Fork 36
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
outlook.com and hotmail.com Invalid (E-Mail was modified) #300
Comments
Thanks for reporting this. Unfortunately the error is probably correct, and hotmail/outlook made recently a change that result in them changing the body of emails more aggressively than before (and for already received emails). Do the emails received by hotmail/outlook contain an Authentication-Results header? Then a workaround would be to enable the reading of the header in the options https://github.com/lieser/dkim_verifier/wiki/Options#read-authentication-results-header. If you are interested to see how the emails are changed: Regarding Update DKIM Key: |
I am not sure whether this relates to this issue but the outlook exchange server will modify incoming mails by changing links included in them into 'safe' urls that link to microsoft and redirect to the original site. |
Changing links in the body of the mail would definitely invalided the DKIM signature (with the Do you know if this is a recently added feature to outlook and hotmail? |
This feature exists for years. But I think it is only available for Premium users. |
I hope all questions are answered for now, so closing this issue. |
Authentication-Results header exists, but results are not displayed. Am I missing something?
|
@D0LLYNH0 The Authentication-Results header (ARH) you posted has multiple issues. Note that most errors reading the ARH are ignored, but you can see them in the Error Console.
If all ARHs added by Outlook have this issue it explains the behavior you observe. If that is the case please open a separate issue to track this. |
@lieser, got it, thanks for the details.
This behavior is seen in all my emails, I have emails saved from 2016, since then, they all have the same behavior (as is to be expected, outlook.com also makes changes to emails already received), all have the same pattern. |
I notice that most of the outlook emails are DKIM invalid (modified email).
Did that with a simple HTML email, but DKIM is correct on both sides. Which feature in the email triggers the modification by the Outlook servers? thanks! |
Got the answer. Plain-text email are not modified ( HTML mails are modified by the outlook servers, breaking the signature. Here is the diff < This is a multi-part message in MIME format.
120,124c184,185
< <!DOCTYPE html>
< <html>
< <head>
<
< <meta http-equiv="content-type" content="text/html; charset=UTF-8">
---
> <!DOCTYPE html><html><head>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
127,129c188
< here is a link <a
< href="https://github.com/lieser/dkim_verifier/issues/300"
< class="moz-txt-link-freetext">https://github.com/lieser/dkim_verifier/issues/300</a><br>
---
> here is a link <a href="https://github.com/lieser/dkim_verifier/issues/300" class="moz-txt-link-freetext">https://github.com/lieser/dkim_verifier/issues/300</a><br> How to report the bug to Microsoft? |
Good question I would love to know the answer for. Note that last week I reported the issue about Outlook writing invalid Authentication-Results headers to Micosoft: No idea if that is the best location to reach someone at Microsoft who could influence Outlook changing it's behavior. Lets wait and see. You could write on the same site about Outlook modifying e-mails. Would not hurt letting them now that their behavior is causing problems for at least some of their customers (even if probably a very small percentage). But I would be (positively) surprised if Outlook would actually stop modifying e-mails anytime soon. |
Microsoft support is asking some in my opinion unrelated questions, but would still be nice to be able to answer them. The question are:
I think for personal email they want to know if it is e.g. an
I don't see how that should matter, but would still like to be able to give an answer.
Unsure what they want here. If someone has a better answer than Microsoft or a repetition of the email domain let me know.
Again don't see how that is relevant. But if the Web interface provides a way to view the email headers, would be nice not confirm that they have the same issue I described above (best post an example here). |
Tried with my work email which is based on Microsoft Exchange. I confirm that the bug is also present, the email is modified and the DKIM integrity is broken. |
FTR posted on techcommunity.microsoft.com |
I use @outlook.com and IMAP. Header information from outlook.live.com:
|
within the past week, all incoming emails going to my hotmail and outlook accounts come up as invalid. checked older emails that did verify in the past and all of them now show same invalid error.
i tried "Reverify DKIM Signature" and "Update DKIM Key" without success.
hovering over sender name pops up "DKIM: Invalid (E-Mail was modified)"
emails to my google accounts, past and current, show as valid as expected.
i did change some of the plugins settings but no change in outcome.
The text was updated successfully, but these errors were encountered: