Re: [trojita] Search against Cyrus IMAP server
16:41:50.366 >>> y255 UID SEARCH RETURN (ALL) CHARSET utf-8 OR FUZZY SUBJECT trojita FUZZY FROM trojita␍␊ 16:41:50.375 <<< * 133125 EXISTS␍␊ 16:41:50.375 <<< * 1 RECENT␍␊ 16:41:50.375 <<< y254 OK Completed␍␊ 16:41:50.376 >>> y256 UID FETCH 202874:* (FLAGS)␍␊ 16:41:50.400 <<< y255 OK Completed (0 msgs in 0.001 secs)␍␊ This means that the IMAP server indeed returns no results. You might want unticking the "fuzzy" checkbox (in the drop-down icon left of the Quick Search input field); if searching without the FUZZY modifier returns better results, then that would mean that just the FUZZY matching is broken. Jesper's suggestions about likely broken indexes is a reasonable one; that's what should be checked first. With kind regards, Jan -- Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
Re: [trojita] Search against Cyrus IMAP server
Hi, I think cyrus did some heavy changes to indexing between the two versions.. Did you follow the cyrus upgrade guide carefully? Can you get search results directly usning telnet and imap search cmds? I haven't tried with telnet but the search does work in other clients such as roundcube. Best wishes, @ndy -- andy...@ashurst.eu.org http://www.ashurst.eu.org/ 0x7EBA75FF
Re: [trojita] Search against Cyrus IMAP server
Hi, 16:41:50.366 >>> y255 UID SEARCH RETURN (ALL) CHARSET utf-8 OR FUZZY SUBJECT trojita FUZZY FROM trojita␍␊ 16:41:50.375 <<< * 133125 EXISTS␍␊ 16:41:50.375 <<< * 1 RECENT␍␊ 16:41:50.375 <<< y254 OK Completed␍␊ 16:41:50.376 >>> y256 UID FETCH 202874:* (FLAGS)␍␊ 16:41:50.400 <<< y255 OK Completed (0 msgs in 0.001 secs)␍␊ This means that the IMAP server indeed returns no results. You might want unticking the "fuzzy" checkbox (in the drop-down icon left of the Quick Search input field); if searching without the FUZZY modifier returns better results, then that would mean that just the FUZZY matching is broken. Unfortunately, neither mode returns any results Jesper's suggestions about likely broken indexes is a reasonable one; that's what should be checked first. The search works in other clients such as roundcube. Is there an experiment that I could try that might narrow it down? Best wishes, @ndy -- andy...@ashurst.eu.org http://www.ashurst.eu.org/ 0x7EBA75FF
Re: [trojita] Search against Cyrus IMAP server
On 14.01.2020 11.51, Andy Bennett wrote: Hi, 16:41:50.366 >>> y255 UID SEARCH RETURN (ALL) CHARSET utf-8 OR FUZZY SUBJECT trojita FUZZY FROM trojita␍␊ 16:41:50.375 <<< * 133125 EXISTS␍␊ 16:41:50.375 <<< * 1 RECENT␍␊ 16:41:50.375 <<< y254 OK Completed␍␊ 16:41:50.376 >>> y256 UID FETCH 202874:* (FLAGS)␍␊ 16:41:50.400 <<< y255 OK Completed (0 msgs in 0.001 secs)␍␊ This means that the IMAP server indeed returns no results. You might want unticking the "fuzzy" checkbox (in the drop-down icon left of the Quick Search input field); if searching without the FUZZY modifier returns better results, then that would mean that just the FUZZY matching is broken. Unfortunately, neither mode returns any results Jesper's suggestions about likely broken indexes is a reasonable one; that's what should be checked first. The search works in other clients such as roundcube. Is there an experiment that I could try that might narrow it down? Perhaps rouncube does the indexing for itself... In a telnet session: (use openssl s_client -connect cyrus.server.tld:993 (if you do not allow plain text logins without ssl) (I assume you have login and plain as auth mechanisms...) a1 login a2 select INBOX. a3 SEARCH RETURN (ALL) CHARSET utf-8 OR FUZZY SUBJECT trojita FUZZY FROM trojita a4 SEARCH FROM And so on, /Jesper Best wishes, @ndy