View | Annotate | Download (17.1 KB)
Apply new darwin.patch from Vincent Beffara fixes #20 patch dated 5/27/2008
Rework keepalive to use time.sleep() instead of event.wait()
This should improve power-management abilities some more
The catch is that we can't wait any longer for the kathread to terminate. We were waiting for this in some cases. This is probably not a big deal.
fixes deb#434074 fixes #66
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>
Revert "Apply darwin.patch from Vincent Beffara"
This reverts commit 9f5c8d708bfa9c16092255a59e13fe8171588c7a.
Several people were complaining about problems. See http://bugs.debian.org/479677.
Closes: #479677.
refs #20.
Apply darwin.patch from Vincent Beffara
fixes #20
04/27/2008 09:34 AM - Vincent Beffara
OK, I finally installed an IMAPS server on my iMac, so I could test a little further. For some reason, fixing the read() method in imaplibutil.py did not seem to work (it hung on connecting to the server) - however, modifying the file imapserver.py similarly to the non-SSL case fixed the crash.
I also reduced the chunk size to 100k instead of 1M, as 1M seemed to still trigger the memory error in some cases. Ah, and I added a platform test, so that the patch does essentially nothing on non-Darwin machines ...
So, still no guarantee, but the attached patch works for me. Any comments ?
(If noone here screams in horror at my code, I will include the patch into the Fink package and see what happens there.)
Bug#359213: Kerberos
Well it was a bit unclear but there's a patch for offlineimap attached to Guido's message:
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=support-GSSAPI-via-pykerberos.diff;att=1;bug=359213
I've tried it out and it works great! Except that if the Kerberos layer throws an exception it wouldn't fail over to plain authentication properly. Attached is a slightly reworked patch that I tested it in the following situations:
1. python-kerberos uninstalled, with kerberos credentials. Prompted for password authentication as expected.
2. python-kerberos installed, with kerberos credentials. Keberos authentication was successful and my mail was fetched without password prompting. Yeehaw!
3. python-kerberos installed, with no kerberos credentials. Prompted for password authentication as expected.
I think those are all the interesting situations. So I think this is ready to go in, with a Suggest on python-kerberos (>= 1.0+mk080218-1).
-- Eric Dorland <eric@kuroneko.ca> ICQ: #61138586, Jabber: hooty@jabber.com
Fix performance for SSL
Added WrappedIMAP4_SSL class to help fix up performance of SSL
Standard imaplib.py is really bad with this, since it reads one character at a time.
Reported by Aaron Kaplan at offlineimap@complete.org/2008/01/msg00012.html.gz">http://lists.complete.org/offlineimap@complete.org/2008/01/msg00012.html.gz
He wrote:
I just noticed that the version of offlineimap I've been using (3.99.17) is well over four years old. How time flies. I haven't had any problems with it, but out of curiosity I decided to pull in 5.99.2 from the fedora repository. It turns out to take consistently over twice as long as the old version to sync the same account. Is this expected?
He tracked it down at offlineimap@complete.org/2008/02/msg00012.html.gz">http://lists.complete.org/offlineimap@complete.org/2008/02/msg00012.html.gz
The following changeset is the one responsible for the difference in speed I was noticing between the imaplib.py that was packaged with older versions of offlineimap and the one that comes with python:
Implement connect
Added comment
Correct readonly handling
Upstream imaplib now issues EXAMINE when readonly != None offlineimap/imaplib.py's version always used SELECT
Compilation fixes
Merging imaplibutil into code
Configurable thread status character for ui.Curses.Blinkenlights
Update FSF address
Step 2 of SVN to arch tree conversion