Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Outlook.com DKIM fails if a HTML signature is added to the e-mail

  • 6 antwurd
  • 1 hat dit probleem
  • 1 werjefte
  • Lêste antwurd fan Toad-Hall

more options

DKIM is configured correctly, mails result in a DKIM pass on outlook.com and other Microsoft services as long as a HTML signature with a link and image is not attached: dkim=pass (signature was verified).

If however a signature is added, e-mails fail with dkim=fail (body hash did not verify).

This only applies o more robust signatures, which contain website links and/or images. Postmastery covered the issues with MIME and Outlook DKIM status, and I assume that improper MIME is the culprit in this scenario.

This seems to apply exclusively to MS services, as mails with signatures get a DKIM pass on all other e-mail providers I had checked.

DKIM is configured correctly, mails result in a DKIM pass on outlook.com and other Microsoft services as long as a HTML signature with a link and image is not attached: ''dkim=pass (signature was verified)''. If however a signature is added, e-mails fail with ''dkim=fail (body hash did not verify)''. This only applies o more robust signatures, which contain website links and/or images. [https://www.postmastery.com/proper-mime-prevents-dkim-failures-in-outlook/ Postmastery covered the issues with MIME and Outlook DKIM status], and I assume that improper MIME is the culprit in this scenario. This seems to apply exclusively to MS services, as mails with signatures get a DKIM pass on all other e-mail providers I had checked.

Keazen oplossing

Try this: Menu icon ≡ > Preferences > General Scroll to bottom and click on 'Config Editor' button which opens in a new tab. It will offer a friendly warning :)

In top search type: mime Look for : mail.strictly_mime

If it says 'False' - double click on the line (or use the far rigth toggle icon) to toggle it to says 'True'

Test sending.

Dit antwurd yn kontekst lêze 👍 1

Alle antwurden (6)

more options

Please offer some info regarding the signature.

Was the HTML signature file created using Thunderbird Write compose window and saved as HTML file and Account Settings you selected 'use signature file instead' option pointing to html file?

Is the image used in signature stored on computer and added to the signature when HTML signature file was created?

more options

I have tried both posting the HTML directly and selecting use HTML and using "use signature file instead". The signature was created in notepad++ with utf-8 encoding. The image was a base64 encode, I have also tried an external resource.

Upon reading your reply I have tried creating a fresh signature directly in the Thunderbird compose window and saving it as html, with the image selected as something to be included. This also resulted in a DKIM failure. I have also tried using externally hosted image, but again DKIM failed.

Looks like even plain text signatures (with use html left unchecked) cause DKIM to fail at outlook.com.

Only e-mails with no signature at all are delivered with dkim=pass (signature was verified).

Edit" I have used the emailaudit.com tool and while it shows DKIM as verifying correctly (Outlook and other Microsoft services are the only ones which have problems), it also reported that:

A text/html part with utf-8 characters should be transfer encoded with quoted-printable instead of 8bit. which points out that the issue is indeed with MIME.

Bewurke troch BenPL op

more options

I had another reply here, but it seems to have been deleted, maybe by a spam filter as I've added a link to a tool which verified my e-mail headers, etc.

To quickly sum up the situation: it turns out that adding any type of signature, even a plain text one with use html left unchecked, leads to dkim=fail (body hash did not verify) on outlook and other Microsoft e-mail services. If there is no signature there are no issues with the e-mail.

A third party tool which verifies e-mail status showed DKIM as correct (MS is the only company which has issues with DKIM) and showed a notification that: A text/html part with utf-8 characters should be transfer encoded with quoted-printable instead of 8bit.

Is there any way to change mime to quoted-printable in Thunderbird?

more options

Keazen oplossing

Try this: Menu icon ≡ > Preferences > General Scroll to bottom and click on 'Config Editor' button which opens in a new tab. It will offer a friendly warning :)

In top search type: mime Look for : mail.strictly_mime

If it says 'False' - double click on the line (or use the far rigth toggle icon) to toggle it to says 'True'

Test sending.

more options

Thank you, now DKIM passes at Outlook.com without any issues. I'm surprised this is not a default setting, seeing how mail.strictly_mime can cause e-mail to be falsely classified as spam if set to false.

Bewurke troch BenPL op

more options

Good to hear all is working properly for you.