docker-offlineimap/offlineimap
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
..
folder Sync INTERNALDATE <-> mtime 2006-08-22 02:09:36 +01:00
repository Update FSF address 2006-08-12 05:15:55 +01:00
ui Update FSF address 2006-08-12 05:15:55 +01:00
__init__.py Step 2 of SVN to arch tree conversion 2005-04-16 20:33:35 +01:00
accounts.py Update FSF address 2006-08-12 05:15:55 +01:00
CustomConfig.py Update FSF address 2006-08-12 05:15:55 +01:00
imaplib.py Sync INTERNALDATE <-> mtime 2006-08-22 02:09:36 +01:00
imapserver.py Update FSF address 2006-08-12 05:15:55 +01:00
imaputil.py Update FSF address 2006-08-12 05:15:55 +01:00
init.py Update FSF address 2006-08-12 05:15:55 +01:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Update FSF address 2006-08-12 05:15:55 +01:00
syncmaster.py Update FSF address 2006-08-12 05:15:55 +01:00
threadutil.py Update FSF address 2006-08-12 05:15:55 +01:00
version.py Update FSF address 2006-08-12 05:15:55 +01:00