Index: camel/camel-exchange-folder.c
===================================================================
--- camel/camel-exchange-folder.c	(revision 1500)
+++ camel/camel-exchange-folder.c	(working copy)
@@ -1132,10 +1132,6 @@
 		if (!ok)
 			return FALSE;
 
-		if (len)
-			return TRUE;
-
-
 		if (folder_flags & CAMEL_STUB_FOLDER_FILTER)
 			folder->folder_flags |= CAMEL_FOLDER_FILTER_RECENT;
 		if (folder_flags & CAMEL_STUB_FOLDER_FILTER_JUNK)
@@ -1145,6 +1141,10 @@
 
 		if (offline_state == CAMEL_OFFLINE_STORE_NETWORK_UNAVAIL )
 			return TRUE;
+		
+		if (len)
+			return TRUE;
+
 		camel_operation_start (NULL, _("Fetching summary information for new messages"));
 		ok = camel_stub_send (exch->stub, ex, CAMEL_STUB_CMD_REFRESH_FOLDER,
 				      CAMEL_STUB_ARG_FOLDER, folder->full_name,
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 1501)
+++ ChangeLog	(working copy)
@@ -1,3 +1,12 @@
+2007-11-16  Bharath Acharya  <abharath@novell.com>
+
+	** Fixes bug #444503
+
+	* camel/camel-exchange-folder.c: (camel_exchange_folder_construct): 
+	Check and store the folder filter and junk filter flags before 
+	performing the check for folder summary being available. Do not fetch 
+	messages if folder summary is available.
+
 2007-11-14  Matthew Barnes  <mbarnes@redhat.com>
 
 	** Remove trailing whitespace from source code.
