I have not heard this issue from my users yet. I commented out all commented lines from there not just the us-ascii line. And I had to add an additional line for my "iso-8859-2" setting :) (I know, i had to add this single line but who knows...)

Viktor

Niblett, David A írta:

Are you all referring to the "us-ascii" portion that is
commented out in the imaputil.c file?

I'm having a strange issue with SquirrelMail and I'm not
sure it's related.  If a user has say 2 pages of Email,
the first page displays correctly, but then if they go to
page 2, the messages come up with unknown sender and
unknown subject.

If I set SM to display all the messages, everything displays
correctly, and you can see the sender and subject of the
messages.

The strangest part is that this happens only for a very small
subset of my users.  The trace from imap server shows nothing
different from a broken user to a normal user.

I tried recompiling with the us-ascii uncommented and I seem
to get the same results.  Next will be shooting for the
dbmail-2.0.4 SVN tree.

It seems that only SquirrelMail has this problem and not other
programs, but then again most don't break it up in pages.

Thoughts?

--
David A. Niblett               | email: [EMAIL PROTECTED]
Network Administrator          | Phone: (352) 334-3400
Gainesville Regional Utilities | Web: http://www.gru.net/



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 10:40 AM
To: DBMail mailinglist
Subject: Re: [Dbmail] server-side sorting bug



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




_______________________________________________
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

Reply via email to