Download (16.3 KB)
make the trash and spam folder names in Gmail accounts configurable
Clarified and highlighted the need to set maxsyncaccounts to sync morethan 1 account
Added ability to disable fsync()
Passed config to LocalStatus and Maildir folders so they can lookup the fsync status
Add support for ssl client certificates
This patch adds sslclientcert and sslclientkey configuration options which are passed through to imaplib in order to allow the use of client certificates for authentication.
Tue Nov 13 14:44:17 CST 2007 Mark Hymers <mhy@debian.org>
Updated with Kerberos info
Applied netrc_v2.diff from bboissin
Add Gmail IMAP special support.
New repository/folder classes to support "real deletion" of messagesthorugh Gmail's IMAP interface: to really delete a message in Gmail,one has to move it to the Trash folder, rather than EXPUNGE it.
Documented remotehosteval
From:Ben Kibbey
> > Attached is a patch to enable evaluation of account credentials with the> > remotehosteval, remoteusereval and remotepasseval configuration options.> > I needed this because rather than change all my other programs> > configuration settings when I change, say a password, I store them in a> > file. So I call a function in pythonfile which parses the credential> > file and returns the wanted info. Not really very well tested, but not> > complex either. Offlineimap is great, thanks.
[ this is the doc for that patch which was already applied ]
Daniel Jacobowitz patches
fixes deb#433732
Date: Sun, 30 Sep 2007 13:54:56 -0400From: Daniel Jacobowitz <drow@false.org>To: offlineimap@complete.orgSubject: Assorted patches
Here's the result of a lazy Sunday hacking on offlineimap. Sorry fornot breaking this into multiple patches. They're mostly logicallyindependent so just ask if that would make a difference.First, a new -q (quick) option. The quick option means to only updatefolders that seem to have had significant changes. For Maildir, anychange to any message UID or flags is significant, because checkingthe flags doesn't add a significant cost. For IMAP, only a change tothe total number of messages or a change in the UID of the most recentmessage is significant. This should catch everything except forflags changes.
The difference in bandwidth is astonishing: a quick sync takes 80Kinstead of 5.3MB, and 28 seconds instead of 90.
There's a configuration variable that lets you say every tenth syncshould update flags, but let all the intervening ones be lighter.
Second, a fix to the UID validity problems many people have beenreporting with Courier. As discussed in Debian bug #433732, I changedthe UID validity check to use SELECT unless the server complains thatthe folder is read-only. This avoids the Courier bug (see the Debianlog for more details). This won't fix existing validity errors, youneed to remove the local status and validity files by hand and resync.
Third, some speedups in Maildir checking. It's still pretty slowdue to a combination of poor performance in os.listdir (never readsmore than 4K of directory entries at a time) and some semaphore thatleads to lots of futex wake operations, but at least this saves20% or so of the CPU time running offlineimap on a single folder:
Time with quick refresh and md5 in loop: 4.75s user 0.46s system 12%cpu 41.751 totalTime with quick refresh and md5 out of loop: 4.38s user 0.50s system14% cpu 34.799 totalTime using string compare to check folder: 4.11s user 0.47s system 13%cpu 34.788 total
And fourth, some display fixes for Curses.Blinkenlights. I madewarnings more visible, made the new quick sync message cyan, andmade all not explicitly colored messages grey. That last one wasreally bugging me. Any time OfflineIMAP printed a warning inthis UI, it had even odds of coming out black on black!
Anyway, I hope these are useful. I'm happy to revise them if you seea problem.
--Daniel JacobowitzCodeSourcery
Document MachineUI
Added timeouts
Remove the Tk interfaces
These were a constant source of trouble. Tkinter likely has multiplememory leaks that OfflineIMAP was tickling. I never used these, so poof,goodbye.
Configurable thread status character for ui.Curses.Blinkenlights
Re-documented restoreatime in offlineimap.conf
Fixed off-by-one comment in offlineimap.conf
Revert restoreatime patch
Documented restoreatime in offlineimap.conf
Step 2 of SVN to arch tree conversion
Added courier example
Keywords:
(jgoerzen@complete.org--projects/offlineimap--head--1.0--patch-7)