2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Weird search resu...
FromSent OnAttachments
Igor StrohAug 21, 2002 9:24 am 
Igor StrohAug 21, 2002 10:03 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Weird search results - addendumActions...
From:Igor Stroh (str@scan-plus.de)
Date:Aug 21, 2002 10:03:41 am
List:net.sourceforge.lists.courier-users

On Mit, 2002-08-21 at 18:24, Igor Stroh wrote:

Hi there,

I'm running courier-imapd (1.4.3-2) on a debian/woody box. Recently I noticed, that search results for a rather simple query appear to be wrong, that is, there are too many UIDs returned as search results. Here's a part of the telnet session: . search UNDELETED BODY "foo" * SEARCH 3 4 5 . OK SEARCH done. Then I checked the files in the appropriate Maildir (mapped the returned UIDs to filenames in courierimapuiddb) and found only two messages that contained the string "foo". All messages in the INBOX were simple plaintext mails, no multipart MIME with attachments or such...

I rechecked the whole thing again and grepped through the Maildir with `find . | xargs -si "foo"` This time I got 3 messages, though one of them resides in a Maildir folder (.Drafts). Can someone explain this behaviour? I did a . select INBOX before searching, so I thought the search applies only to the selected mbox...

Igor