On Sat, 2007-10-20 at 17:08 -0700, Jeff Grossman wrote:
> 2 search since 6-Sep-2007
> * SEARCH
> 2 OK Search completed.
> 3 fetch 1:* internaldate
> * 1 FETCH (INTERNALDATE "23-Sep-2007 17:21:04 -0700")
..

Weird. Try the attached patch. What does it log?

diff -r 9e7bf6becfb4 src/lib-storage/index/index-search.c
--- a/src/lib-storage/index/index-search.c	Sun Oct 21 03:09:33 2007 +0300
+++ b/src/lib-storage/index/index-search.c	Sun Oct 21 03:15:11 2007 +0300
@@ -196,6 +196,7 @@ static int search_arg_match_cached(struc
 			return date >= arg->value.time &&
 				date < arg->value.time + 3600*24;
 		case SEARCH_SINCE:
+			i_warning("since: %d vs %d", (int)date, (int)arg->value.time);
 			return date >= arg->value.time;
 		default:
 			/* unreachable */

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to