Paul Lesniewski wrote: > > On Sat, Jul 30, 2011 at 3:58 AM, Juergen Edner > <juergen.edner@xxxxxxxxxxx> wrote: >> Hello, >> I'm running SM v1.4.22 on one of my servers. Every time I try to search >> for word which contains german umlauts the following error is shown: >> >> ERROR: Wrong or invalid request. >> Request: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE >> BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance >> Priority Content-Type)]) >> Server answer: Bogus sequence in UID FETCH: Syntax error in sequence >> >> While trying to find a resolution for the problem I've found several >> references in the SM message archive which state that the error should >> have been fixed in SM v1.4.20RC1. >> >> Then I've added a debug output to imap_search.php which shows that the >> following command is send to the server: >> >> SEARCH CHARSET ISO-8859-1 ALL BODY "für" > > Do you really have $uid_support in config/config.php turned off? Why? > > Why didn't you provide all the information as requested in the mailing > list posting guidelines? Maybe your IMAP server is faulty. Try > running the search command using the info plugin and/or sniff the > actual IMAP traffic and tell us what it says. > > This search works just fine for me. > He logged $ss variable and $uid_support is enabled internally by sqimap_run_command. Maybe you can explain why code tries to send 8bit text as quoted string instead of sending it as literal. "Works fine" does not look really good considering that IMAP specification is violated. Try different IMAP server. UW IMAP 2007e for example. Dovecot ignores rfc violation. ---- Notice: Undefined variable: messagelist in /somepath/squirrelmail-webmail-1.4.22/functions/imap_search.php on line 106 Call Stack # Time Memory Function Location 1 0.0001 54480 {main}( ) ../search.php:0 2 0.0700 420356 sqimap_search( ) ../search.php:567 Notice: Undefined variable: id in /somepath/squirrelmail-webmail-1.4.22/functions/imap_search.php on line 112 Call Stack # Time Memory Function Location 1 0.0001 54480 {main}( ) ../search.php:0 2 0.0700 420356 sqimap_search( ) ../search.php:567 ERROR: ERROR: Bad or malformed request. Query: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)]) Server responded: Bogus sequence in UID FETCH: Syntax error in sequence ----- You must use following command on UW. --- SEARCH CHARSET ISO-8859-1 ALL BODY {3} für --- It is literal string. So it is actually two commands. -- Tomas -- View this message in context: http://old.nabble.com/Re%3A-SM-v1.4.22---search-with-german-umlauts-fails-tp32193999p32196186.html Sent from the squirrelmail-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 ----- 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