Timo Sirainen wrote:> On Fri, 2007-10-05 at 17:27 -0700, Jeff Grossman wrote: > >> Timo Sirainen wrote: >> >>> On Tue, 2007-10-02 at 18:12 -0700, Jeff Grossman wrote: >>> >>> >>>> So, what would >>>> have changed between version 1.0.5 and 1.1beta2 to somehow make the >>>> phone think all of the messages are older than 30 days? >>>> >>>> >>> Is it using SORT command? Apparently there are some bugs still in it. >>> http://dovecot.org/bugreport.html#sniffing >>> >>> >>> >> I don't think so. Here is the first .in file from the rawlog >> >> A6 NAMESPACE >> A7 SELECT "Inbox" >> A8 SEARCH SINCE 6-Sep-2007 >> > > OK, this finds the messages based on their INTERNALDATE. With maildir > that means the files' mtime. Are all the mtimes older than 6 Sep? If > not, try deleting dovecot.index.cache file to see if it helps. > >Out of 13 messages in my inbox, 12 of them are newer than 6 Sep. I deleted the dovecot.index.cache file and it still will not display any messages in my inbox when I have the setting to only display the most current 30 days worth of mail. Jeff Timo, Just FYI, the above problem is still not fixed with beta 3. Jeff
On Tue, 2007-10-16 at 15:04 -0700, Jeff Grossman wrote:> >> A6 NAMESPACE > >> A7 SELECT "Inbox" > >> A8 SEARCH SINCE 6-Sep-2007..> Just FYI, the above problem is still not fixed with beta 3.Works with me: 1 search since 6-Sep-2007 * SEARCH 3 5 6 7 8 1 OK Search completed. 2 fetch 1:* internaldate * 1 FETCH (INTERNALDATE "20-Sep-2003 04:41:29 +0300") * 2 FETCH (INTERNALDATE "20-Sep-2003 21:52:40 +0300") * 3 FETCH (INTERNALDATE "20-Oct-2007 16:32:40 +0300") * 4 FETCH (INTERNALDATE "21-Sep-2003 11:41:04 +0300") * 5 FETCH (INTERNALDATE "20-Oct-2007 16:32:40 +0300") * 6 FETCH (INTERNALDATE "20-Oct-2007 16:32:40 +0300") * 7 FETCH (INTERNALDATE "20-Oct-2007 17:40:58 +0300") * 8 FETCH (INTERNALDATE "20-Oct-2007 17:41:50 +0300") 2 OK Fetch completed. Try running imap manually (dovecot --exec-mail imap) with the same commands. Are the INTERNALDATE replies wrong? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20071020/8019cac9/attachment-0002.bin>
Timo Sirainen wrote:> On Tue, 2007-10-16 at 15:04 -0700, Jeff Grossman wrote: > >>>> A6 NAMESPACE >>>> A7 SELECT "Inbox" >>>> A8 SEARCH SINCE 6-Sep-2007 >>>> > .. > >> Just FYI, the above problem is still not fixed with beta 3. >> > > Works with me: > > 1 search since 6-Sep-2007 > * SEARCH 3 5 6 7 8 > 1 OK Search completed. > 2 fetch 1:* internaldate > * 1 FETCH (INTERNALDATE "20-Sep-2003 04:41:29 +0300") > * 2 FETCH (INTERNALDATE "20-Sep-2003 21:52:40 +0300") > * 3 FETCH (INTERNALDATE "20-Oct-2007 16:32:40 +0300") > * 4 FETCH (INTERNALDATE "21-Sep-2003 11:41:04 +0300") > * 5 FETCH (INTERNALDATE "20-Oct-2007 16:32:40 +0300") > * 6 FETCH (INTERNALDATE "20-Oct-2007 16:32:40 +0300") > * 7 FETCH (INTERNALDATE "20-Oct-2007 17:40:58 +0300") > * 8 FETCH (INTERNALDATE "20-Oct-2007 17:41:50 +0300") > 2 OK Fetch completed. > > Try running imap manually (dovecot --exec-mail imap) with the same > commands. Are the INTERNALDATE replies wrong? >Here is what I get from those commands. It does not return anything from the search command: 1 SELECT "Inbox" * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded \*)] Flags permitted. * 30 EXISTS * 0 RECENT * OK [UNSEEN 4] First unseen. * OK [UIDVALIDITY 1191346544] UIDs valid * OK [UIDNEXT 1186] Predicted next UID 1 OK [READ-WRITE] Select completed. 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") * 2 FETCH (INTERNALDATE "26-Sep-2007 11:04:53 -0700") * 3 FETCH (INTERNALDATE "20-Oct-2007 13:31:26 -0700") * 4 FETCH (INTERNALDATE "20-Oct-2007 14:31:46 -0700") * 5 FETCH (INTERNALDATE "20-Oct-2007 14:36:04 -0700") * 6 FETCH (INTERNALDATE "20-Oct-2007 14:48:04 -0700") * 7 FETCH (INTERNALDATE "20-Oct-2007 14:49:18 -0700") * 8 FETCH (INTERNALDATE "20-Oct-2007 14:49:22 -0700") * 9 FETCH (INTERNALDATE "20-Oct-2007 14:52:18 -0700") * 10 FETCH (INTERNALDATE "20-Oct-2007 15:44:52 -0700") * 11 FETCH (INTERNALDATE "20-Oct-2007 15:52:28 -0700") * 12 FETCH (INTERNALDATE "20-Oct-2007 15:57:35 -0700") * 13 FETCH (INTERNALDATE "20-Oct-2007 16:04:38 -0700") * 14 FETCH (INTERNALDATE "20-Oct-2007 16:08:07 -0700") * 15 FETCH (INTERNALDATE "20-Oct-2007 16:08:11 -0700") * 16 FETCH (INTERNALDATE "20-Oct-2007 16:09:49 -0700") * 17 FETCH (INTERNALDATE "20-Oct-2007 16:11:32 -0700") * 18 FETCH (INTERNALDATE "20-Oct-2007 16:16:15 -0700") * 19 FETCH (INTERNALDATE "20-Oct-2007 16:16:17 -0700") * 20 FETCH (INTERNALDATE "20-Oct-2007 16:19:06 -0700") * 21 FETCH (INTERNALDATE "20-Oct-2007 16:21:20 -0700") * 22 FETCH (INTERNALDATE "20-Oct-2007 16:24:28 -0700") * 23 FETCH (INTERNALDATE "20-Oct-2007 16:26:24 -0700") * 24 FETCH (INTERNALDATE "20-Oct-2007 16:28:54 -0700") * 25 FETCH (INTERNALDATE "20-Oct-2007 16:37:25 -0700") * 26 FETCH (INTERNALDATE "20-Oct-2007 16:40:26 -0700") * 27 FETCH (INTERNALDATE "20-Oct-2007 16:46:48 -0700") * 28 FETCH (INTERNALDATE "20-Oct-2007 16:52:46 -0700") * 29 FETCH (INTERNALDATE "20-Oct-2007 16:57:20 -0700") * 30 FETCH (INTERNALDATE "20-Oct-2007 16:58:34 -0700") 3 OK Fetch completed. jeff ~ $ dovecot --version 1.1.beta3 jeff ~ $ uname -r 2.6.22-gentoo-r5 Thank you for your help. Jeff