mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #1207] improve the sending of emails #855
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#855
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gurkengewuerz on GitHub (Oct 29, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1207
improve the sending of emails
I am using bitwarden_rs with my email server to send notification. Currently my rspamd adds the spam header because the mail had no message id. A value of 6 is marked as spam in the default rspamd configuration.
Is there a way to improve this behavior?
@BlackDex commented on GitHub (Oct 29, 2020):
I noticed this to e few days back. I didn't had any troubles with this. But i know i can be a trigger.
I'll see if I can add this, shouldn't be too hard.
@Gurkengewuerz commented on GitHub (Oct 30, 2020):
@BlackDex thanks would be great! :)
I'm no into rust but maybe i've found something useful in lettre
github.com/lettre/lettre@50d96ad8df@BlackDex commented on GitHub (Nov 18, 2020):
@Gurkengewuerz i have made some changes which helps preventing spam-triggers.
See #1229 for the changes.
I noticed it also triggered regarding odd uri counts because the plain/text version didn't contained the github link to this project.
So i added that also. And i noticed it also triggered on the plain/text and html/text not being similar, this was because some plain/text messages had HTML code, i removed that also, which removed that trigger.
I tested this by using https://www.mail-tester.com/ which started off giving a 7/10 score, and afterwards it reported a 10/10 score :).
We juist have to wait for the PR to be merged and the images to be build so that you can use the
testingtagged image to use this.@Gurkengewuerz commented on GitHub (Nov 18, 2020):
wow this sounds awesome @BlackDex! Lets hope the PR get merged soon. Good work!
@rafi-fisker commented on GitHub (Dec 7, 2020):
So I tried using the
testingimage which is supposed to have this fix, but I am still having issues with emails getting marked as phishing/spam by our Microsoft 365 email system. Any ideas?EDIT: nevermind, I figured it out, our 3rd party phishing detection plugin was marking it as spam/phishing and I was able to whitelist it. but probably still worth looking into...
@BlackDex commented on GitHub (Dec 19, 2020):
@rafi-fisker: It would be nice to know why it got marked as spam by the third-party email-filtering tool then. Else it will be impossible for us to even try to do something. I have fixed all the spamassassin checks which did actually were some sane RFC defaults which weren't used in the mail headers and some link counting.
It could very well still be something totally out of our control, like where you are sending the mail from for example, if that is untrusted by the filter for example. Or maybe if you have links to an internal accessible only server, it could mark it. There are a dozen reasons why.
@rafi-fisker commented on GitHub (Dec 19, 2020):
@BlackDex The emails were sent via AWS SES SMTP server, with SPF/DKIM validated.
Unfortunately I don't have much visibility into the 3rd party email filtering tool, other than it's name: https://www.vadesecure.com/