John Goerzen 03488ba81b Sync INTERNALDATE <-> mtime
The attached patch adds syncing the INTERNALDATE of IMAP folders with
the mtime of messages in maildir folders.
I want this to happen, because I'm running a dovecot over the maildirs
synced by offlineimap, and that uses the mtime as the INTERNALDATE.
When using mutt to view messages I generally sort based on the received
date, which for IMAP folders is the INTERNALDATE.

Since this is the first real coding I've done in Python the patch may
need to be cleaned up some, but it's working pretty well for me.  I've
added new messages to each side, and the received date has been
preserved going both ways.
2006-08-22 02:09:36 +01:00
2006-08-12 05:15:55 +01:00
2006-08-12 05:18:07 +01:00
2006-08-22 02:09:36 +01:00
2005-10-06 20:53:32 +01:00
2005-02-10 05:37:33 +01:00
2006-08-12 05:15:55 +01:00
2006-08-12 05:15:55 +01:00
2006-08-12 05:15:55 +01:00
2005-09-28 18:17:13 +01:00
2005-09-28 18:17:13 +01:00
2005-09-28 18:17:13 +01:00
2005-09-28 18:17:13 +01:00
2005-09-28 18:17:13 +01:00
2006-05-04 09:05:46 +01:00
2006-05-04 18:37:20 +01:00
2006-05-01 20:47:59 +01:00
2005-04-16 20:33:35 +01:00
2005-04-16 20:33:35 +01:00

OfflineIMAP
Copyright (C) 2002, 2003 John Goerzen <jgoerzen@complete.org>
This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details.  This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.

gopher://quux.org/1/devel/offlineimap
http://quux.org/devel/offlineimap

Please see manual.txt; the information previously in README has been moved
there.

Languages
Python 97.1%
Shell 2.3%
Makefile 0.4%
Dockerfile 0.2%