--- ./mail-send-recv.c.orig	2007-02-23 11:19:09.000000000 -0500
+++ ./mail-send-recv.c	2007-02-23 11:18:54.000000000 -0500
@@ -993,7 +993,9 @@
 	for (iter = e_list_get_iterator((EList *)accounts);e_iterator_is_valid(iter);e_iterator_next(iter))
 		auto_account_added(accounts, (EAccount *)e_iterator_get(iter), NULL);
 
-	camel_object_hook_event(mail_component_peek_session(NULL), "online", auto_online, NULL);
+	/* don't call this here, as it might cause a race condition when the vfolders
+	 * are getting updated on startup */
+	/* camel_object_hook_event(mail_component_peek_session(NULL), "online", auto_online, NULL); */
 }
 
 /* we setup the download info's in a hashtable, if we later need to build the gui, we insert
