I use squirrel mail version squirrelmail-1.4.3a and binc imap version
1.2.6 set up some message filters and now i get the error below when i
try to logon to the account with the filters.  I tried switching the
option under gerneral setting for squirrel mail to US-ASCII but that did
not solve my problem.

ERROR : Could not complete request.
Query: SEARCH CHARSET ISO-8859-1 ALL From {22} [EMAIL PROTECTED]
Reason Given: SEARCH failed: [BADCHARSET ("US-ASCII")]

I have also written to the BINC IMAP group and this was thier relpy



Here's something you can post to the Squirrelmail list. A protocol dump
between Binc IMAP and Squirrelmail 1.4.1. Short version: A bug in
Squirrelmail.

C: A049 UID SEARCH CHARSET ISO-8859-1 ALL SUBJECT {8}
S: + ok, send 8 bytes of data.
C: bincimap
S: A049 NO [BADCHARSET ("US-ASCII")] SEARCH failed

Andy

This means that Binc doesn't support other character sets than US-ASCII.
Now, Squirrelmail actually does the correct thing, it reissues the search
using the US-ASCII charset:

C: A050 SEARCH CHARSET "US-ASCII" ALL SUBJECT {8}
       ^^^

But the UID SEACH from the first query has become a regular SEARCH in the
meantime. This is the bug.

S: + ok, send 8 bytes of data
C: bincimap
S: * SEARCH 507 512 515 530 532 533 673 734 736 737 738 739 766 768 830
831 862 863 864 866 867 925 926 957
S: A050 OK SEARCH completed
C: A051 UID FETCH
507,512,515,530,532:533,673,734,736:739,766,768,830:831,862:864,866:867,925:926,957


(FLAGS UID RFC822.SIZE BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject
X-Priority Content-Type)])

Now, Squirrelmail uses UID FETCH with the sequence numbers it got from the
reissued SEARCH. This makes Binc IMAP report a list of messages that most
likely didn't at all match the query.

Andy



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to