Re: Problem with Filters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 9 Jun 2009 16:33:58 -0400, "Randal T. Rioux"
<randy@xxxxxxxxxxxxxxx> wrote:

>System Details:
>
>- SquirrelMail v1.4.19
>- No extra plugins
>- Apache/2.2.11 (Unix) PHP/5.2.9 mod_ssl/2.2.11 OpenSSL/0.9.7d DAV/2
>- Whatever 1&1 uses for IMAP and SMTP
>- SunOS ariel 5.10 Generic_139555-08 sun4u
>- SM from source
>- Firefox 3 and IE 6/7 browsers
>- src/configtest.php results: Congratulations, your SquirrelMail setup
>looks fine to me!
>- No related errors in logs
>
>Problem:
>
>Creating and enabling a mail filter, like so:
>
>If Subject contains [Openvas-devel] then move to Mailing Lists/Security
>Scanners/OpenVAS/Devel
>
>Creates the following error when run during Inbox page load:
>
>ERROR: Bad or malformed request.
>Query: SEARCH CHARSET ISO-8859-1 ALL UNDELETED Subject {15} [Openvas-devel]
>Server responded: expected search-key instead of .

This is actually a bug in the filters plugin.  It's performing a query
using literals, but not waiting for the response back from the IMAP
server before sending the complete query.  Some imap servers ignore
the face that the request is badly formated, whilst others (correctly)
generate an error on the request.

A quick/dirty fix is to remove the literal request, but the correct
fix would be to fix the literal request.

I've added this as a new bug [1] for tracking, and i'll take a look at
it.


[1]: http://www.squirrelmail.org/bugs/2805201

-- 
Jonathan Angliss
<jon@xxxxxxxxxxxxxxxx>


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux