Mailing List Archive

Length limit of filter.
Is there a limit to the lenght of "or" in a filter?

I do a

if $h_X-Sender: contains "liz@planetliz.com" or
$h_X-Sender: contains "tjackson@csrlink.net" or
...
$h_X-Sender: contains "mahirsch@hot.rr.com"

then
...
endif

And the last term always seem to get "ignored"?

Ok, i could use a lookup.. But is there infact a limit?
Re: Length limit of filter. [ In reply to ]
On Fri, 24 May 2002, Jan Johansson wrote:

> Is there a limit to the lenght of "or" in a filter?

The available memory. :-)

> I do a
>
> if $h_X-Sender: contains "liz@planetliz.com" or
> $h_X-Sender: contains "tjackson@csrlink.net" or
> ...
> $h_X-Sender: contains "mahirsch@hot.rr.com"
>
> then
> ...
> endif
>
> And the last term always seem to get "ignored"?

Shouldn't be. Try running with debugging.

--
Philip Hazel University of Cambridge Computing Service,
ph10@cus.cam.ac.uk Cambridge, England. Phone: +44 1223 334714.
RE: Length limit of filter. [ In reply to ]
> The available memory. :-)

I think i have more then that :)

> Shouldn't be. Try running with debugging.

I will.

In the mean time, have a good vacation :)