diff -ur ./camel/camel-folder.c /usr/ports/databases/evolution-data-server/work/evolution-data-server-1.6.3/camel/camel-folder.c
--- ./camel/camel-folder.c	Fri Sep 15 11:50:47 2006
+++ /usr/ports/databases/evolution-data-server/work/evolution-data-server-1.6.3/camel/camel-folder.c	Wed May  3 16:59:26 2006
@@ -1802,15 +1802,15 @@
 	}
 
 	if ((folder->folder_flags & (CAMEL_FOLDER_FILTER_RECENT|CAMEL_FOLDER_FILTER_JUNK))
-	    && changed->uid_added->len > 0)
+	    && changed->uid_recent->len > 0)
 		driver = camel_session_get_filter_driver(session,
 							 (folder->folder_flags & CAMEL_FOLDER_FILTER_RECENT) 
 							 ? "incoming":"junktest", NULL);
 		
 	if (driver) {
 		recents = g_ptr_array_new();
-		for (i=0;i<changed->uid_added->len;i++)
-			g_ptr_array_add(recents, g_strdup(changed->uid_added->pdata[i]));
+		for (i=0;i<changed->uid_recent->len;i++)
+			g_ptr_array_add(recents, g_strdup(changed->uid_recent->pdata[i]));
 	}
 
 	if (driver || junk || notjunk) {
