Postal: Additionnal headers in DKIM signature

Created on 6 Jun 2020  Â·  9Comments  Â·  Source: postalhq/postal

RFC8058 specifies that the List-Unsubscribe and List-Unsubscribe-Post headers must be included in the DKIM signature. These headers are widely used and even required for good deliverability on some platforms.
Unless I am mistaken, only the headers date, from, to, message-id and subject are currently included in the signature.
Is it possible to simply add the List-Unsubscribe* headers (or even others) into the signature or Postal cannot currently do this?

enhancement

All 9 comments

I believe you could do this in the code, I'm not sure this would get added to the main code however.

Thank you willpower232
I ended up adding the headers here

Ah glad it was simple to arrange! I wonder how far the RFC will get in implementation as this is the first time its been reported as an issue.

All the email providers I've been able to check include these headers in the DKIM signature. The application of this RFC is moreover necessary for white list certification for many certifiers I have contacted (example).

Interesting, I've bumped this to enhancement since something will probably need to be done.

Thank you willpower232
I ended up adding the headers here

So, I can confirm that the added header appears in the code of my postal instance, but for some reason my emails still do not include the list-unsubscribe header. Am I missing something?

What do you mean 'my emails still do not include the list-unsubscribe header'?
The modification of the indicated code allows Postal to add the selected headers to the DKIM signature and not to add the headers to your emails. You still have to add all the additionnal headers you want when you send your emails.

Ahhhhhh, I see. Any chance you can point me to some good instructions on that?

Sent from ProtonMail mobile

-------- Original Message --------
On Jun 14, 2020, 7:48 PM, jlnmrc wrote:

What do you mean 'my emails still do not include the list-unsubscribe header'?
The modification of the indicated code allows Postal to add the selected headers to the DKIM signature and not to add the headers to your emails. You still have to add all the additionnal headers you want when you send your emails.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

It totally depends on what you use to pass emails to Postal. You have to look in your script/library documentation to know how to add headers.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

destroyer998 picture destroyer998  Â·  5Comments

yeah-nothing picture yeah-nothing  Â·  6Comments

oasis1234 picture oasis1234  Â·  5Comments

shinebayar-g picture shinebayar-g  Â·  3Comments

wassimseif picture wassimseif  Â·  7Comments