incubator-ponymail icon indicating copy to clipboard operation
incubator-ponymail copied to clipboard

Bug: drop 'archived-at' header generation

Open sebbASF opened this issue 6 years ago • 2 comments

Currently the archiver adds an 'archived-at' header to all messages. This changes the source, and can cause the message to get a different id when reloaded.

The arrival time is still useful, but it should be stored as meta-data in the ES database rather than by changing the source.

Note that the header does not appears in mails stored by lists.apache.org since early Jan 2018, judging by the sources of dev@ponymail

sebbASF avatar Mar 07 '19 13:03 sebbASF

Would it make more sense to prefix it with 'X-' (thus X-Archived-At) and have Pony Mail disregard X-* when digesting the email, going forward? I think this could solve some other theoretical inconsistencies in emails depending on the path they took.

Humbedooh avatar Apr 25 '19 15:04 Humbedooh

No, I think Ponymail should not change the emails that it stores.

sebbASF avatar Apr 25 '19 16:04 sebbASF