[evolution-patches] 69533 workaround test




This patch is really just to test whether falling back to imap4 will work for the groupwise server, since 2.0.1 supposedly works fine, and that is the only change we made.

The idea is to put it into the snapshots and then see if it works, before we try doing something complicated and risky to fix it.

--
Michael Zucchi <notzed ximian com>
"Free Software, putting the Free back in Free Market."
Novell's Evolution and Free Software Developer
Index: camel/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/camel/ChangeLog,v
retrieving revision 1.2251.2.22
diff -u -3 -r1.2251.2.22 ChangeLog
--- camel/ChangeLog	19 Nov 2004 02:13:46 -0000	1.2251.2.22
+++ camel/ChangeLog	19 Nov 2004 05:35:58 -0000
@@ -1,3 +1,9 @@
+2004-11-19  Not Zed  <NotZed Ximian com>
+
+	* providers/imap/camel-imap-store.c (connect_to_server): if we
+	have CAMEL_IMAP_BRAINDAMAGED set, then treat the server as
+	braindamaged ok.  Testing for #69533.
+
 2004-11-18  Not Zed  <NotZed Ximian com>
 
 	* providers/nntp/camel-nntp-stream.c:
Index: camel/providers/imap/camel-imap-store.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/providers/imap/camel-imap-store.c,v
retrieving revision 1.300.2.4
diff -u -3 -r1.300.2.4 camel-imap-store.c
--- camel/providers/imap/camel-imap-store.c	13 Oct 2004 01:28:03 -0000	1.300.2.4
+++ camel/providers/imap/camel-imap-store.c	19 Nov 2004 05:35:59 -0000
@@ -629,7 +629,7 @@
 	if (!strncmp(buf, "* PREAUTH", 9))
 		store->preauthed = TRUE;
 	
-	if (strstr (buf, "Courier-IMAP")) {
+	if (strstr (buf, "Courier-IMAP") || getenv("CAMEL_IMAP_BRAINDAMAGED")) {
 		/* Courier-IMAP is braindamaged. So far this flag only
 		 * works around the fact that Courier-IMAP is known to
 		 * give invalid BODY responses seemingly because its


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