On Sat, 3 May 2008 15:58:18 -0400 Alan G Isaac <[EMAIL PROTECTED]> wrote:

AGI> Is this what you mean?
AGI> 
AGI>     2:24:49 PM: Mail log: 000001b7 UID SEARCH FROM vadim
AGI>     2:24:49 PM: Mail log: 000001b7 NO SEARCH Database is not full-text 
indexed
AGI>     2:24:49 PM: Error: Mail log: SEARCH Database is not full-text indexed

 Yes, this does explain the error. But AFAICS it also means that your IMAP
server is non-conforming: from my reading of the RFC the server can return
"NO" only in conjunction with BADCHARSET if it doesn't support the CHARSET
specified. As we don't specify any (we should but it's another story...),
the server should really perform the search. Again, SEARCH is not an
optional extension but a core protocol command so this is just a server bug
unless I'm missing something.

 Moreover, c-client library does support local search of IMAP folders if
the server returns BAD answer -- but it doesn't do it in case of NO
response. Anyhow, I think I've fixed the problem by adding code to retry
(inefficient) local search if the server-side search fails, please let me
know if it still doesn't work in the next release. And also please tell me
which IMAP server do you use (if you don't know doing "telnet
your.imap.server 143" and looking at the CAPABILITY line returned by the
server might give the answer).

 Thanks,
VZ


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mahogany-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-users

Reply via email to