Re: [Evolution] IMAP support



Scott Barnes <reeve ductape net> writes:

Which IMAP servers are(n't) supported?  More importantly, is there any way to
get it to work with the Cyrus server?  I NEED IMAP!  :)  I use Ductape.net's
Cyrus IMAP4 server, and it tells me INBOX doesn't exist but it does, and it
works fine in Balsa, Pine, Mutt, etc...  Please fix this, or give me a
workaround!  PLEASE!!!  :)

  Does this patch help? It makes Courier-IMAP work...

m.

--- evolution/camel/providers/imap/camel-imap-store.c.orig      Mon Sep 11 10:02:34 2000
+++ evolution/camel/providers/imap/camel-imap-store.c   Mon Sep 11 09:54:14 2000
@@ -61,6 +61,7 @@
 static void imap_keepalive (CamelRemoteStore *store);
 /*static gboolean stream_is_alive (CamelStream *istream);*/
 static int camel_imap_status (char *cmdid, char *respbuf);
+static char *imap_base_folder(CamelStore *, CamelException *);
 
 static void
 camel_imap_store_class_init (CamelImapStoreClass *camel_imap_store_class)
@@ -83,6 +84,7 @@
        camel_service_class->disconnect = imap_disconnect;
        
        camel_store_class->get_folder = get_folder;
+       camel_store_class->get_root_folder_name = imap_base_folder;
        
        camel_remote_store_class->keepalive = imap_keepalive;
 }
@@ -1317,4 +1319,9 @@
        g_ptr_array_free (data, TRUE);
        
        return status;
+}
+
+static char *
+imap_base_folder(CamelStore *store, CamelException *e) {
+       return g_strdup("INBOX");
 }




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