[hypermail] Header used by folder_by_date

From: Christopher X. Candreva <chris_at_westnet.com_at_hypermail-project.org>
Date: Thu, 31 Jul 2003 23:17:06 -0400 (EDT)
Message-ID: <Pine.GSO.4.56.0307312310480.6891_at_westnet>

While testing the folder_by_date feature in 2.1.8 , I've noticed that it is using the date from the Date: header.

This means that if anyone who sent to the list has their clock off, and sent a message with an incorrect date, the message will not be saved to the correct place. (In one case, someone's clock set to 1980 caused a whole new directory to be created).

This should probably use one of the system-supplied date headers instead, which would (most likely) indicate that actual time it was received by the archiving system. The very first line of an mbox format would probably be an easy place to take it from - ie:

>From list_at_list.com Sun Jun 1 06:39:39 2003


Chris Candreva -- chris_at_westnet.com -- (914) 967-7816 WestNet Internet Services of Westchester http://www.westnet.com/ Received on Fri 01 Aug 2003 05:17:28 AM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:54 PM GMT GMT