Index: camel/providers/imap/ChangeLog
===================================================================
--- camel/providers/imap/ChangeLog	(revision 8461)
+++ camel/providers/imap/ChangeLog	(working copy)
@@ -1,6 +1,13 @@
+2008-01-07  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #324804
+
+	* camel-imap-folder.c: (imap_update_summary):
+	Report all new messages as recent, even without that flag, thus new
+	messages will be filtered even after saw by other software earlier.
+
 2008-01-24  Srinivasa Ragavan  <sragavan@novell.com>
 
-
 	* camel-imap-folder.c: (construct_junk_headers),
 	(imap_update_summary): Extract the junk specific headers onto the
 	headers portion of the message info for fast filtering.
Index: camel/providers/imap/camel-imap-folder.c
===================================================================
--- camel/providers/imap/camel-imap-folder.c	(revision 8461)
+++ camel/providers/imap/camel-imap-folder.c	(working copy)
@@ -2751,8 +2751,9 @@
 		camel_folder_summary_add (folder->summary, (CamelMessageInfo *)mi);
 		camel_folder_change_info_add_uid (changes, camel_message_info_uid (mi));
 
-		if ((mi->info.flags & CAMEL_IMAP_MESSAGE_RECENT)) 
-			camel_folder_change_info_recent_uid(changes, camel_message_info_uid (mi));
+		/* report all new messages as recent, even without that flag, thus new
+		   messages will be filtered even after saw by other software earlier */
+		camel_folder_change_info_recent_uid (changes, camel_message_info_uid (mi));
 	}
 
 	for ( ; i < messages->len; i++) {
