-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Salmon breaks DKIM signatures #72
Comments
This branch https://github.com/talwrii/salmon/tree/talwrii--2018-05-17--dkim fixes this issue by letting one switch off salmon's mail normalisation. The approach used here is quite aggressive - but it seemed a bit perverse to try and get the mail canonicalisation code to do nothing. |
If you're only wanting to forward a message as-is, the original message is preserved in
If you've added some headers of your own before forwarding, but still want to avoid Salmon's sanitization, replace As for your branch, we should parse the DKIM header and work out which headers need to be preserved. This should not be the default, but I could see it being useful. |
Thanks for that. It looks like there is no need for this feature. I got tripped up by the existence of two mail classes ( A couple of points for other users. The
Also, I imagine the So the sample one wants is:
If one wants to change |
DKIM is a standard for signing emails that uses DNS as a certificate store.
DKIM's related standard DMARC may result in your mail server silently refusing to accept email messages that have been modified if an email has been in any way modified, assuming that your mail server is adopting the standard (which, for example, gmail does).
This is somewhat problematic for forwarders like salmon, since they must be careful in some circumstances not to modify email messages.
By default salmon aggressively normalizes messages, potentially breaking DKIM forwarding. This normalization can be avoided by setting
Examples of problems this causes: Airbnb/stackoverlay/yahoo mail have a DKIM policy that result in Gmail dropping mail.
An alternative approach might be to remove DKIM header changed the from address and use
ReplyTo
for this purpose.The text was updated successfully, but these errors were encountered: