Tomas Kuliavas said: >>>>>> Hello >>>>>> >>>>>> I'm using squirrelmail 1.4.8-1, with dovecot 1.0.rc7-1 on a Debian >>>>>> etch >>>>>> system. >>>>>> >>>>>> On the squirrelmail-configure (config.pl), section "General Option", >>>>>> I've enabled "Allow server thread sort" and "Allow server-side >>>>>> sorting". >>>>>> >>>>>> In my account it works, but there is a user that it doesn't work. >>>>>> When >>>>>> she selects the option to sort by subject, she gets the message: >>>>>> >>>>>> Erro: Pedido errado ou mal formado. >>>>>> Requisi���§���£o: THREAD ORDEREDSUBJECT ISO-8859-1 ALL >>>>>> Resposta do servidor: Error in IMAP command UID: ORDEREDSUBJECT >>>>>> threading >>>>>> is currently not supported. >>>>>> >>>>>> (Sorry the messages are in Portuguese, but i believe that you can >>>>>> get >>>>>> the general idea). >>>>>> >>>>>> I've snooped arround and found that if i change "thread_INBOX=1" in >>>>>> her .pref file to "thread_INBOX=0", then she stops seeing the error. >>>>>> >>>>>> I've tried with my .pref file and if the value is 1 it still works, >>>>>> I've checked and there are other users with the setting to 1 and >>>>>> they >>>>>> can see their mail, so my guess is that something is terribly wrong >>>>>> in >>>>>> the preferences of this particular user, so I'm sending it to you so >>>>>> that maybe you can see something: >>>>>> >>>>>> chosen_theme=../themes/default_theme.php >>>>>> show_html_default=0 >>>>>> javascript_on=0 >>>>>> hililist=a:0:{} >>>>>> sort=6 >>>>>> javascript_setting=0 >>>>>> delete_move_next_t=off >>>>>> delete_move_next_formATtop=off >>>>>> delete_move_next_b=on >>>>>> delete_move_next_formATbottom=on >>>>>> archivefilenames=6 >>>>>> archiveattachments=1 >>>>>> archivetype=0 >>>>>> archiveent=1 >>>>>> spamcop_method=web_form >>>>>> thread_INBOX=0 >>>>>> order1=1 >>>>>> order2=2 >>>>>> order3=5 >>>>>> order4=3 >>>>>> order5=4 >>>>>> show_full_date=0 >>>>>> include_self_reply_all=0 >>>>>> attachment_common_show_images=1 >>>>>> html_mail_aggressive_reply_with_unsafe_images=0 >>>>>> html_mail_aggressive_reply=0 >>>>>> compose_window_type=html >>>>>> pf_cleandisplay=0 >>>>>> sort_by_ref=0 >>>>> >>>>> Check SquirrelMail Options -> Display Preferences -> Enable Thread >>>>> Sort >>>>> by >>>>> References Header: >>>>> >>>>> force 'sort_by_ref=1' setting on all user accounts. >>>>> force sort_by_ref=1 >>>>> >>>> Ok I'm dense, I'll admit it, how do I force sort_by_ref=1. >>>> I'm running 1.4.4 (debian sarge). >>> >>> http://www.squirrelmail.org/plugin_view.php?id=220 >>> >>> $fp_forced_settings = array( >>> 'sort_by_ref' => '1' >>> ); >>> >> opps! >> Installed plugin with $fp_forced_settings as above. >> in SM conf file turned on: allow server thread sort. Following error was >> generated. >> ---------- >> ERROR : Bad or malformed request. >> Query: THREAD ORDEREDSUBJECT ISO-8859-1 ALL >> Server responded: Error in IMAP command UID: ORDEREDSUBJECT threading is >> currently not supported. >> ----------- >> Turned off allow server thread sort but did not remove plugin and the >> error went away. >> --General options: >> 5. Usernames in Lowercase : false >> 6. Allow use of priority : true >> 7. Hide SM attributions : true >> 8. Allow use of receipts : true >> 9. Allow editing of identity : true/true >> 10. Allow server thread sort : false >> 11. Allow server-side sorting : true >> 12. Allow server charset search : true >> 13. Enable UID support : true >> >> looks like its the dovecot version: sarge is using 0.99.14-1 and the >> other person is running on 1.0RC7. <sigh> Thanks. I'll keep this in >> mind >> for when we upgrade dovecot. > > > According to SquirrelMail functions/imap_messages.php, if sort_by_ref is > set to 1, SquirrelMail should use THREAD REFERENCES and not THREAD > ORDEREDSUBJECT > More interestingness, I turned the AllowServerThread Sort back to faulse and saved it. SM started acting unstable. I finally pulled the forced pref pulgin out using the conf.pl but had to restart dovecot to get it to recoginze logins. imap proxy was reporting that dovecot was not answering. I'm not sure what is going on, particularly if it shouldn't even be seeing Thread OrderdSubject. I'll do more testing on a test box (I thought this was going to be easy so I had done it on the live box..bad idea). Thanks. Will let you know if I can figure out more. I had turned on the debugger but it didn't generate any output. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users