summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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