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

Bug: import-mbox.py should not default invalid dates to 'now'

Open sebbASF opened this issue 9 years ago • 1 comments

It makes sense for archiver.py to default invalid or missing dates to now, because the archiver deals with live messages.

However it does not make sense for the importer to do so.

sebbASF avatar Nov 05 '16 23:11 sebbASF

However dropping mails that don't have valid dates does not seem right either. One possible approach would be to use the last timestamp from the Received headers, as that should be closest to when the message was sent. That approach would also work better for the archiver.

sebbASF avatar Sep 08 '17 20:09 sebbASF