Email fixes #2716

Closed
opened 2026-04-06 03:58:32 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @BlackDex on 11/18/2020

Updated email processing.

  • Added an option to enable smtp debugging via SMTP_DEBUG. This will trigger a trace of the smtp commands sent/received to/from the mail server. Useful when troubleshooting.
  • Added two options to ignore invalid certificates which either do not match at all, or only doesn't match the hostname. ( fixes #1077 )
  • Added Message-ID Header, which triggered spamfilters when absent. ( fixes #1207 )
  • Updated lettre to the latest alpha.4 version.

Fixed plain/text email format

plain/text emails should not contain html elements like

etc..
This triggers some spamfilters and increases the spam score.

Also added the github link into the text only emails since this also triggers spamfilters to increase the score since the url/link count is different between the multipart messages.

Tested by using https://www.mail-tester.com/ to validate the spamscore. (Including the missing Message-ID Header mentioned above)

Updated admin settings page.

  • Added check if settings are changed but not saved when sending test email.
  • Added some styling to emphasize some risks settings.
  • Fixed alignment of elements when the label has multiple lines.
*Originally created by @BlackDex on 11/18/2020* ### Updated email processing. - Added an option to enable smtp debugging via SMTP_DEBUG. This will trigger a trace of the smtp commands sent/received to/from the mail server. Useful when troubleshooting. - Added two options to ignore invalid certificates which either do not match at all, or only doesn't match the hostname. ( fixes #1077 ) - Added Message-ID Header, which triggered spamfilters when absent. ( fixes #1207 ) - Updated lettre to the latest alpha.4 version. ### Fixed plain/text email format plain/text emails should not contain html elements like <p> <a> etc.. This triggers some spamfilters and increases the spam score. Also added the github link into the text only emails since this also triggers spamfilters to increase the score since the url/link count is different between the multipart messages. Tested by using https://www.mail-tester.com/ to validate the spamscore. (Including the missing Message-ID Header mentioned above) ### Updated admin settings page. - Added check if settings are changed but not saved when sending test email. - Added some styling to emphasize some risks settings. - Fixed alignment of elements when the label has multiple lines.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#2716