You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have also tried moving both headers and the dkim attributes to the sendEmail step but this also causes the DKIM to fail.
The fact that the behavior is different depending on where the headers are added indicates that this might be a bug in nodemailer.
We would much prefer to keep the list-unsubscribe in the sendEmail step so that we can reuse the transport while sending to multiple users with different list-unsubscribe URLs.
The text was updated successfully, but these errors were encountered:
During our testing, we found that if the list-unsubscribe URL is long and gets folded, DKIM verification fails.
This was already reported in #1654 but we have additional findings to report which we believe will narrow down the root cause.
We found that if we add a long list-unsubscribe header during the sendEmail step, DKIM will fail, however it will succeed if:
...or...
Code snippet and resulting email tested in mail-tester which causes DKIM failure
Code snippet and resulting email tested in mail-tester where DKIM is valid
We have also tried moving both
headers
and thedkim
attributes to thesendEmail
step but this also causes the DKIM to fail.The fact that the behavior is different depending on where the headers are added indicates that this might be a bug in nodemailer.
We would much prefer to keep the list-unsubscribe in the
sendEmail
step so that we can reuse the transport while sending to multiple users with different list-unsubscribe URLs.The text was updated successfully, but these errors were encountered: