Problem with Filters

View: New views
12 Messages — Rating Filter:   Alert me  

Problem with Filters

by Randal T. Rioux :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 a fresh install, as when I first experienced the error I thought
it was from a dirty legacy file somewhere. I've tried SM 1.4.19 on a few
different server configurations and keep getting the same error. Does
anybody have an idea what would cause this type of error?

Thanks for your help!
Randy



------------------------------------------------------------------------------
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@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Problem with Filters

by Jon Angliss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 9 Jun 2009 16:33:58 -0400, "Randal T. Rioux"
<randy@...> 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@...>


------------------------------------------------------------------------------
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@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Problem with Filters

by SM user :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, June 12, 2009 04:45, Jonathan Angliss wrote:

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

>>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.

What do I have to do in the meantime? For the moment I have disabled the
plugin. Is a update of the filter plugin on his way or is there a
workaround for the time being.

gr,
SdB


------------------------------------------------------------------------------
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@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Problem with Filters

by Jon Angliss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 17 Jun 2009 15:46:08 +0200, "SM user" <s.bekius+sm@...>
wrote:

>On Fri, June 12, 2009 04:45, Jonathan Angliss wrote:
>
>> On Tue, 9 Jun 2009 16:33:58 -0400, "Randal T. Rioux"
>> <randy@...> wrote:
>
>>>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.
>
>What do I have to do in the meantime? For the moment I have disabled the
>plugin. Is a update of the filter plugin on his way or is there a
>workaround for the time being.

I have a patch I'm doing some rough testing on.  I shall post it to
the list tonight.

--
Jonathan Angliss
<jon@...>


------------------------------------------------------------------------------
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@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Problem with Filters - 2805201_filters.patch (0/1)

by Jon Angliss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 18 Jun 2009 16:53:31 -0500, Jonathan Angliss
<jon@...> wrote:

>On Wed, 17 Jun 2009 15:46:08 +0200, "SM user" <s.bekius+sm@...>
>wrote:
>
>>On Fri, June 12, 2009 04:45, Jonathan Angliss wrote:
>>
>>> On Tue, 9 Jun 2009 16:33:58 -0400, "Randal T. Rioux"
>>> <randy@...> wrote:
>>
>>>>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.
>>
>>What do I have to do in the meantime? For the moment I have disabled the
>>plugin. Is a update of the filter plugin on his way or is there a
>>workaround for the time being.
>
>I have a patch I'm doing some rough testing on.  I shall post it to
>the list tonight.

Here it is.  Introduced a new function, which needs a little more work
for error handling and such, and changed filters to look at that code.

--
Jonathan Angliss
<jon@...>


------------------------------------------------------------------------------
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@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Problem with Filters - 2805201_filters.patch (1/1)

by Jon Angliss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


begin 644 2805201_filters.patch
M(R,C($5C;&EP<V4@5V]R:W-P86-E(%!A=&-H(#$N,`T*(U`@4W%U:7)R96Q-
M86EL("T@4W1A8FQE#0I);F1E>#H@<&QU9VEN<R]F:6QT97)S+V9I;'1E<G,N
M<&AP#0H]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]#0HM+2T@<&QU9VEN<R]F:6QT
M97)S+V9I;'1E<G,N<&AP"2AR979I<VEO;B`Q,S<X-BD-"BLK*R!P;'5G:6YS
M+V9I;'1E<G,O9FEL=&5R<RYP:'`)*'=O<FMI;F<@8V]P>2D-"D!`("TR-38L
M-B`K,C4V+#$R($!`#0H@("`@("1I9"`](&%R<F%Y*"D[#0H@("`@("\O($9O
M<B!E=F5R>2!R=6QE#0H@("`@(&9O<B`H)&D],"P@)&YU;2`](&-O=6YT*"1F
M:6QT97)S*3L@)&D@/"`D;G5M.R`D:2LK*2![#0HK("`@(`DO+R!$;VXG="!A
M='1E;7!T('1O(')U;B!F:6QT97)S(&EF(&9O;&1E<B!D;V5S(&YO="!E>&ES
M="`O+PT**R`@("`):68@*"%S<6EM87!?;6%I;&)O>%]E>&ES=',H)&EM87!?
M<W1R96%M+"`D9FEL=&5R<ULD:5U;)V9O;&1E<B==*2D@>PT**R`@("`)"6-O
M;G1I;G5E.PT**R`@("`)?0T**R`@("`)#0HK("`@(`D-"B`@("`@("`@("\O
M($EF(&ET(&ES('1H92`B8V]M8F\B(')U;&4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I;6%P7W)E861?9&%T82@D:6UA<%]S=')E86TL
M("1S:60L("1H86YD;&5?97)R;W)S+"`D<F5S<&]N<V4L("1M97-S86=E+"`D
M<75E<GE;)V-O;6UA;F0G72D[#0HK("`@("`@("`-"BL@("`@("`@("1I(#T@
M,#L-"BL@("`@("`@("1C;G0@/2!C;W5N="@D<75E<GE;)VQI=&5R86Q?87)G
M<R==*3L-"BL@("`@("`@('=H:6QE*"`D:2`\("1C;G0@*2![#0HK("`@("`@
M("`):68@*"@D8VYT(#X@,2D@)B8@*"1I(#P@*"1C;G0@+2`Q*2DI('L-"BL)
M"0D))&-O;6UA;F0@/2!S<')I;G1F*"(E<R![)61]7')<;B(L("1Q=65R>5LG
M;&ET97)A;%]A<F=S)UU;)&E=+"!S=')L96XH)'%U97)Y6R=L:71E<F%L7V%R
M9W,G75LD:2LQ72DI.PT**PD)"7T@96QS92![#0HK"0D)"21C;VUM86YD(#T@
M<W!R:6YT9B@B)7-<<EQN(BP@)'%U97)Y6R=L:71E<F%L7V%R9W,G75LD:5TI
M.PT**PD)"7T-"BL@("`@("`@(`D-"BL)"0EF<'5T<R@D:6UA<%]S=')E86TL
M("1C;VUM86YD*3L-"BL)("`@("`@("`D<F5A9"`]('-Q:6UA<%]R96%D7V1A
M=&$H)&EM87!?<W1R96%M+"`D<VED+"`D:&%N9&QE7V5R<F]R<RP@)')E<W!O
M;G-E+"`D;65S<V%G92P@)'%U97)Y6R=C;VUM86YD)UTI.PT**PT**PD@("`@
M("`@("1I*RL[#0HK"2`@("`@("`@#0HK("`@("`@("!]#0HK("`@("`@("!R
M971U<FX@)')E860[#0HK("`@('T@96QS92![#0HK("`@("`@("!G;&]B86P@
M)'-Q=6ER<F5L;6%I;%]L86YG=6%G92P@)&-O;&]R.PT**R`@("`@("`@<V5T
M7W5P7VQA;F=U86=E*"1S<75I<G)E;&UA:6Q?;&%N9W5A9V4I.PT**R`@("`@
M("`@<F5Q=6ER95]O;F-E*%--7U!!5$@@+B`G9G5N8W1I;VYS+V1I<W!L87E?
M;65S<V%G97,N<&AP)RD[#0HK("`@("`@("`D<W1R:6YG(#T@(CQB/CQF;VYT
M(&-O;&]R/5PB)&-O;&]R6S)=7"(^7&XB("X-"BL@("`@("`@("`@("`@("`@
M7R@B15)23U(Z($YO(&%V86EL86)L92!)34%0('-T<F5A;2XB*2`N#0HK("`@
M("`@("`@("`@("`@("(\+V(^/"]F;VYT/EQN(CL-"BL@("`@("`@(&5R<F]R
M7V)O>"@D<W1R:6YG+"1C;VQO<BD[#0HK("`@("`@("!R971U<FX@9F%L<V4[
M#0HK("`@('T-"BM]#0HK#0HK#0H@+RHJ#0H@("H@0W5S=&]M(&9G971S(&9U
M;F-T:6]N.B!G971S(&$@;&EN92!F<F]M('1H92!)34%0('-E<G9E<BP-"B`@
M*B!N;R!M871T97(@:&]W(&)I9R!I="!M87D@8F4N#0I`0"`M,3<Q+#$R("LR
M,#@L,3<@0$`-"B`@("`@)')E<W5L=&QI<W0@/2!A<G)A>2@...*("`@("`D
M9&%T82`](&%R<F%Y*"D[#0H@("`@("1R96%D(#T@<W%I;6%P7V9G971S*"1I
M;6%P7W-T<F5A;2D[#0HK("`@(`T*("`@("`D:2`](#`[#0H@("`@('=H:6QE
M("@D<F5A9"D@>PT*("`@("`@("`@)&-H87(@/2`D<F5A9'LP?3L-"B`@("`@
M("`@('-W:71C:"`H)&-H87(I#0H@("`@("`@("![#0H@("`@("`@("`@(&-A
M<V4@)RLG.@T**R`@("`@("`@("`)>PT**PD@("`@("`@("`@"21R97-P;VYS
M92`]("=/2R<[#0HK"2`@("`@("`@("`)8G)E86L@,CL-"BL@("`@("`@("`@
M"7T-"B`@("`@("`@("`@9&5F875L=#H-"B`@("`@("`@("`@("`D<F5A9"`]
M('-Q:6UA<%]F9V5T<R@D:6UA<%]S=')E86TI.PT*("`@("`@("`@("`@(&)R
&96%K.PT*
`
end


------------------------------------------------------------------------------
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@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Problem with Filters - 2805201_filters.patch (1/1)

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 6/18/09, Jonathan Angliss <jon@...> wrote:
>
> begin 644 2805201_filters.patch
> M(R,C($5C;&EP<V4@5V]R:W-P86-E(%!A=&-H(#$N,`T*(U`@4W%U:7)R96Q-
> M86EL("T@4W1A8FQE#0I);F1E>#H@<&QU9VEN<R]F:6QT97)S+V9I;'1E<G,N
> M<&AP#0H]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]

<snip>

Not sure how you posted this message, but it came through in two
strange parts.  Is the patch the same as the one here?

https://sourceforge.net/tracker/index.php?func=detail&aid=2805201&group_id=311&atid=100311

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Problem with Filters - 2805201_filters.patch (1/1)

by Jon Angliss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 22 Jun 2009 14:26:50 -0700, Paul Lesniewski
<paul@...> wrote:

>On 6/18/09, Jonathan Angliss <jon@...> wrote:
>>
>> begin 644 2805201_filters.patch
>> M(R,C($5C;&EP<V4@5V]R:W-P86-E(%!A=&-H(#$N,`T*(U`@4W%U:7)R96Q-
>> M86EL("T@4W1A8FQE#0I);F1E>#H@<&QU9VEN<R]F:6QT97)S+V9I;'1E<G,N
>> M<&AP#0H]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
>
><snip>
>
>Not sure how you posted this message, but it came through in two
>strange parts.  Is the patch the same as the one here?
>
>https://sourceforge.net/tracker/index.php?func=detail&aid=2805201&group_id=311&atid=100311

The fun of posting through gmane I guess :)  Yes, the patch is the
same.  I was trying to figure out if it was just Agent or not :)

--
Jonathan Angliss
<jon@...>


------------------------------------------------------------------------------
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Problem with Filters - 2805201_filters.patch (1/1)

by SM user :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, June 26, 2009 06:41, Jonathan Angliss wrote:

> On Mon, 22 Jun 2009 14:26:50 -0700, Paul Lesniewski
> <paul@...> wrote:

<snip>

>>
>>Not sure how you posted this message, but it came through in two
>>strange parts.  Is the patch the same as the one here?
>>
>>https://sourceforge.net/tracker/index.php?func=detail&aid=2805201&group_id=311&atid=100311
>
> The fun of posting through gmane I guess :)  Yes, the patch is the
> same.  I was trying to figure out if it was just Agent or not :)
>

Maybe a dumb question? But how do I install this patch? Modifying the code?


------------------------------------------------------------------------------
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Problem with Filters - 2805201_filters.patch (1/1)

by Paul Lesniewski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>>>Not sure how you posted this message, but it came through in two
>>>strange parts.  Is the patch the same as the one here?
>>>
>>>https://sourceforge.net/tracker/index.php?func=detail&aid=2805201&group_id=311&atid=100311
>>
>> The fun of posting through gmane I guess :)  Yes, the patch is the
>> same.  I was trying to figure out if it was just Agent or not :)
>>
>
> Maybe a dumb question? But how do I install this patch? Modifying the code?

type:

man patch

usually, apply with this:

patch -p0 < filename

in Windoze, find a *nix environment that includes a port of the patch program

------------------------------------------------------------------------------
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Problem with Filters - 2805201_filters.patch (1/1)

by Jon Angliss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 26 Jun 2009 10:22:11 +0200, "SM user" <s.bekius+sm@...>
wrote:

>On Fri, June 26, 2009 06:41, Jonathan Angliss wrote:
>
>> On Mon, 22 Jun 2009 14:26:50 -0700, Paul Lesniewski
>> <paul@...> wrote:
>
><snip>
>
>>>
>>>Not sure how you posted this message, but it came through in two
>>>strange parts.  Is the patch the same as the one here?
>>>
>>>https://sourceforge.net/tracker/index.php?func=detail&aid=2805201&group_id=311&atid=100311
>>
>> The fun of posting through gmane I guess :)  Yes, the patch is the
>> same.  I was trying to figure out if it was just Agent or not :)
>>
>
>Maybe a dumb question? But how do I install this patch? Modifying the code?

Were you able to test this? It introduces a new function that is
currently only used in the filters plugin, so impact should be
minimal.  I'm curious if this resolved the issue for you.

Thanks
--
Jonathan Angliss
<jon@...>


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: Problem with Filters - 2805201_filters.patch (1/1)

by SM user :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 14 Jul 2009 23:47:46 -0500, Jonathan Angliss <jon@...>
wrote:

>
> Were you able to test this? It introduces a new function that is
> currently only used in the filters plugin, so impact should be
> minimal.  I'm curious if this resolved the issue for you.
>
>
Sorry for the delay.
Unfortunately it didn't work. When logging in I got this error:

ERROR: Could not complete request.
Query: SEARCH CHARSET ISO-8859-1 UNSEEN UNDELETED To {40}
squirrelmail-users@...
Reason Given: [BADCHARSET] Unknown charset

This is my configuration:

SquirrelMail version: 1.4.19
Config file version: 1.4.0
Config file last modified: 20 July 2009 01:14:45

Checking PHP configuration...
PHP version 5.2.8 OK.
display_errors: 1
error_reporting: 6135
variables_order OK: EGPCS.
PHP extensions OK. Dynamic loading is enabled.
ERROR: You have enabled any one of magic_quotes_runtime, magic_quotes_gpc
or magic_quotes_sybase in your PHP configuration. We recommend all those
settings to be off. SquirrelMail may work with them on, but when
experiencing stray backslashes in your mail or other strange behaviour, it
may be advisable to turn them off.

Checking paths...
Data dir OK.
Attachment dir OK.
Plugins OK.
Themes OK.
Default language OK.
Base URL detected as: http://www.XXXXX.XX/squirrelmail-1.4.19/src (location
base autodetected)

Checking outgoing mail service....
SMTP server OK (220 XXXXXXXX ESMTP Exim 4.69 Mon, 20 Jul 2009 01:14:59
+0200)

Checking IMAP service....
IMAP server ready (* OK Dovecot DA ready.)
Capabilities: * CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES
MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS
UIDPLUS LIST-EXTENDED I18NLEVEL=1 STARTTLS AUTH=PLAIN

Checking internationalization (i18n) settings...
gettext - Gettext functions are available. On some systems you must have
appropriate system locales compiled.
mbstring - Mbstring functions are available.
recode - Recode functions are unavailable.
iconv - Iconv functions are available.
timezone - Webmail users can change their time zone settings.

Checking database functions...
not using database functionality.

Congratulations, your SquirrelMail setup looks fine to me!

--
gr,
SdB

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users