Re: ANNOUNCE: SquirrelMail 1.4.20 Release Candidate 1 Now Available

Paul Lesniewski <[email protected]>
Newsgroups gmane.mail.squirrelmail.devel
Message-ID <[email protected]>
>> The SquirrelMail Team is pleased to bring you the first release
>> candidate ahead of our next SquirrelMail version: 1.4.20RC1.  Because
>
> 1.4.20 Release Candidate 1 breaks searching mailboxes.
> With 1.4.20RC1 I'm getting:
>
> FEHLER: Falsche oder ungültige Anfrage.
> Anfrage: FETCH (FLAGS UID RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS
> (Date To Cc From Subject X-Priority Importance Priority Content-Type)])
> Server antwortete: Error in IMAP command UID FETCH: Invalid arguments.
>
> With 1.4.19 all works like a charm. Both instances are on the same
> machine! The IMAP Server is dovecot 1.2.3

Thanks for the report, Ralf.

The problem is caused by a fix Jon added for the filters plugin:

http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail?view=rev&revision=13789

Specifically, the changes at line 208 in functions/imap_general.php in
this patch are the problem:

http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/functions/imap_general.php?r1=13733&r2=13789&view=patch

To get your search functionality back, comment out or remove the two
lines in those braces:

$response = 'OK';
break 2;

Since Jon's head was already in it recently, I hope he can fix this.
Jon, FWIW, a typical simple SEARCH conversation looks like:

A05 SEARCH CHARSET ISO-8859-1 ALL FROM {4}
+ OK
test
* SEARCH 6728 6301
A05 OK SEARCH done.

Also, Jon, if you don't mind, please set your editor not to insert tab
characters in the source.  :-)

Cheers,

  Paul

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.