Re: QUickly setting up a IMAP4rev1 capable IMAP service



This little hack which I will probably include with the partial message
retrieval feature is going to put tinymail on always non IMAP4rev1 mode.

Partly because I don't trust the Camel code that tries to support some
of the IMAP4rev1 code. Also because that way the partial message
retrieval feature will simply always work.

For some reason it seems that Evolution also turns-off the IMAP4rev1
code of the normal IMAP Camel provider. I need to investigate this a
little bit before making any statements about it, by the way.

On Mon, 2007-01-08 at 00:00 +0100, Philip Van Hoof wrote:
> Note that on IMAP4rev1 services the partial message retrieval patch
> which I sumbitted to our beloved mailing list (this one) yesterday
> doesn't work.
> 
> It also doesn't make getting messages stop working. The new
> functionality simply isn't called when you are working with a IMAP4rev1
> capable service.
> 
> So to ease debugging I decided to write a small "how to set up a
> IMAP4rev1 capable service" in 12 seconds HOWTO:
> 
> http://tinymail.org/trac/tinymail/wiki/IMAPSetup
> 
> Have fun
> 
-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://www.pvanhoof.be/blog



Index: libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c
===================================================================
--- libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c	(revision 1363)
+++ libtinymail-camel/camel-lite/camel/providers/imap/camel-imap-store.c	(working copy)
@@ -672,6 +672,14 @@
 		force_imap4 = TRUE;
 	}
 	
+
+	/* Tinymail hack: always use IMAP4, not IMAP4rev1 (sorry) */
+
+	force_imap4 = TRUE;
+	store->braindamaged = TRUE;
+
+	/* end of hack :) */
+
 	g_free (buf);
 	
 	/* get the imap server capabilities */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]