Jack Knowlton wrote: > > On Sat, October 10, 2009 8:24 am, Tomas Kuliavas wrote: >> >> >> Jack Knowlton wrote: >>> >>> Hi all. >>> I have a working SM (Debian testing v2:1.4.20~rc2-1) and Courier-IMAP >>> (v4.4.1-1) setup but since a few days ago searching seems to have >>> stopped >>> working. >>> No matter how many messages are in the folder, any search operation >>> keeps >>> returning this error: >>> >>> ERROR: Could not complete request. >>> Query: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS >>> (Date To Cc From Subject X-Priority Importance Priority Content-Type)]) >>> Reason Given: Error in IMAP command received by server. >>> >>> Where should I start looking to solve this? >>> >> >> 1. Check if you can reproduce same issue in 1.4.19. If 1.4.19 works, then >> 1.4.20rc2 broke something. >> >> 2. Set IMAP server type to hmailserver or macosx. These types use quoted >> strings instead of literals. You will have to limit your search to ASCII >> symbols. SquirrelMail does not send literal strings correctly. 1.4.20rc2 >> rewrote that part of code, but rewrite continues to ignore rfc. >> > > Thanks for the response. > > .19 snapshot works with the server type set (correctly) as courier. > With the debian-installed version (.20rc2), I had to apply the change > suggested to have a successful search. > > Since I have a bunch of plugins and lots of users, I'd rather stick with > the debian package version and wait for the next update. > How safe/unsafe is the server type hack? > Check if 1.4.20svn snapshots work. If they do, inform about it Debian package maintainer. If you use hmailserver IMAP type, it changes only search commands. Other code should work same way as on other servers. courier type enables some workarounds in folder management page. Not sure, if they are needed there. Main problem is that if you use any search criteria with 8bit symbols, code will send invalid IMAP command. -- Tomas -- View this message in context: http://www.nabble.com/Search-problem-tp25818793p25832436.html Sent from the squirrelmail-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users