diff options
| author | Stefano Zacchiroli <zack@upsilon.cc> | 2015-02-15 13:39:08 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-02-16 08:58:13 -0400 |
| commit | 1722ea2c95865cb20cc2578894eca2cdaddc1d7a (patch) | |
| tree | 0505a492862e8f1df311f47991184038f4cedfdd /doc | |
| parent | 02b554c89616154cbec153cb3938d43d51aae5ad (diff) | |
notmuch-mutt: support for messages that lack Message-ID headers
For those messages, compute a synthetic Message-ID based on the SHA1
of the whole message, in the same way that notmuch would do. See:
http://git.notmuchmail.org/git/notmuch/blob/HEAD:/lib/sha1.c
To do the above, rewrite get_message_id() to accumulate header lines,
parse them to check for Message-ID, and fallback to SHA1 computation
if it is not present.
Thanks to:
- Jan N. Klug for preliminary versions of this patch
- Tomi Ollila for suggesting an elegant implementation
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
