--On April 11, 2007 8:48:52 PM +0200 Yves Goergen 
<[EMAIL PROTECTED]> wrote:

> What about reading the date from the first Received: header

First of all, parsing a Received: header a lot more work than just using 
stat() to get the modification time of the file.  Second, it isn't 
guaranteed to be right.  The topmost Received: header reflects when the 
destination server accepted the incoming message, not when it delivered it 
into the recipient's mailbox.  If the receiving server has a big queue 
backlog, then the discrepancy between reception time and final delivery 
time can be significant.

> ...not when the IMAP mailstore was last edited.

If you edit the mail store correctly then you won't get unintended side 
effects.  Clobbering INTERNALDATE, however it is represented in the mail 
store, is a mistake.

-- 
Donald L. Nash, <[EMAIL PROTECTED]>
Information Technology Services, The University of Texas at Austin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to