summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-08-03 07:59:29 +0000
committerMichael Zucci <zucchi@src.gnome.org>2005-08-03 07:59:29 +0000
commitf03364ac3713ee7f7fe58916a1be4cdb206ce7f6 (patch)
tree498128b706acc0f0e92abec05111f37929001d09
parentea4d59e0a13196cbf761e427ab153f3ec6c34de4 (diff)
downloadevolution-data-server-f03364ac3713ee7f7fe58916a1be4cdb206ce7f6.tar.gz
** See bug #309237.
2005-08-02 Not Zed <NotZed@Ximian.com> ** See bug #309237. * camel-imap-store.c (connect_to_server): add the BRAINDAMAGED hack from 2.0.3, since some people seem to be relying on it.
-rw-r--r--camel/providers/imap/ChangeLog7
-rw-r--r--camel/providers/imap/camel-imap-store.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/camel/providers/imap/ChangeLog b/camel/providers/imap/ChangeLog
index 02df7c1b7..88f075e06 100644
--- a/camel/providers/imap/ChangeLog
+++ b/camel/providers/imap/ChangeLog
@@ -1,3 +1,10 @@
+2005-08-02 Not Zed <NotZed@Ximian.com>
+
+ ** See bug #309237.
+
+ * camel-imap-store.c (connect_to_server): add the BRAINDAMAGED
+ hack from 2.0.3, since some people seem to be relying on it.
+
2005-03-18 Jeffrey Stedfast <fejj@novell.com>
* camel-imap-command.c (imap_read_untagged): Continue reading data
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index 4cca6a07b..0b8bc4472 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -611,7 +611,7 @@ connect_to_server (CamelService *service, struct addrinfo *ai, int ssl_mode, Cam
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