Glad I could help. Of course, this is only a (very) dirty hack to get it to work...
The real fix would be to properly implement the different options defined in the IMAP definition, but I am not capable of doing this myself (my C/C++ skills are way too insufficient for this). But at least squirrelmail works again... Regards, Stanley. > Hi, > > Thank you Stanley! It works under 2.0.4 Little problem was at first that > there isn't "/* no silent failures for now */" string in imaputil.c > (version 2.0.4) but I have found the right place in the > build_imap_search function. > > Viktor > > [EMAIL PROTECTED] írta: > >>Hi, >> >>I'm not sure about 2.0.4, have been using 2.0.3 for quite a while without >>any (well, maybe one or two) problems... >> >>Last monday I upgraded to 2.1.1 so I could start using the header cache, >>and I ran into the same problem as you describe here. >> >>I first fixed it by modifying squirrelmail not to add "ISO-8859-2 ALL" to >>the IMAP command, but that is of course not the way to go... >>The better way to fix it (for now, quick hack) was to uncomment a few >>lines in imaputil.c: there is a section starting with "/* no silent >>failures for now */". Each lines after that is commented out. If you >>un-comment these lines and recompile then it all works. >>I'm not quite sure it works correctly: sorting on sender/subject doesn't >>seem to work correctly, but at least squirrelmail works now again... >> >>Hope this helps, >>Stanley. >> >> >> >> >> >>><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> >>><html> >>><head> >>> <meta content="text/html;charset=ISO-8859-2" >>> http-equiv="Content-Type"> >>> <title></title> >>></head> >>><body bgcolor="#ffffff" text="#000000"> >>>Hi All,<br> >>><br> >>>I am using squirrelmail with dbmail backend and I have a problem with >>>it. I get this error message if I try to enable server-side sorting in >>>squirrelmail:<br> >>><br> >>><b><font color="#cc0000">ERROR: Bad or malformed >>> request.</font></b><font >>> color="#cc0000"><br> >>>Query: SORT (ARRIVAL) ISO-8859-2 ALL<br> >>>Server responded: syntax error in sort keys<br> >>></font><br> >>>dbmail version: 2.0.4<br> >>>squirrelmail version: 1.4.5<br> >>>What could be the problem? I have to enable something or what? I cannot >>>found any option for it just someone mentioned that server-side sorting >>>is included from 2.0.1 (afaik)<br> >>>Thank you!<br> >>><br> >>>Viktor Kertesz<br> >>>Introweb Ltd<font color="#cc0000"><br> >>></font> >>></body> >>></html> >>> >>>_______________________________________________ >>>Dbmail mailing list >>>Dbmail@dbmail.org >>>https://mailman.fastxs.nl/mailman/listinfo/dbmail >>> >>> >>> >>> >> >> >>_______________________________________________ >>Dbmail mailing list >>Dbmail@dbmail.org >>https://mailman.fastxs.nl/mailman/listinfo/dbmail >> >> > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail > >