[imapfilter-devel]Filter generation

Lefteris Chatzibarbas lefcha at hellug.gr
Fri Nov 1 14:58:05 EET 2002


On Thu, Oct 31, 2002 at 08:50:56AM +0100, Mario Strasser wrote:
> [...]
>
> To be more precisely, the error only occurs if more than three rules 
> for the same type are used, for example:
> 
> filter A or
>   header x "aaa"
>   header y "bbb"
>   header z "ccc"
> action ...
> 
> results in:
>   SEARCH OR (HEADER "x" "aaa") OR (HEADER "y" "bbb") 
>   (HEADER "z" "ccc")
>   * SEARCH
>   F0000C OK SEARCH completed.
> 
> Can you verify this?

I run imapfilter with this filter on the same server:

filter foo or
  header date "aaa"
  header date "bbb"
  header date "mon"
action list

I got:

...

debug: sending command: F00006 SEARCH OR (HEADER "date" "aaa") OR (HEADER
"date" "bbb") (HEADER "date" "mon")

* SEARCH 2 3 9
F00006 OK SEARCH completed.

...


Are you sure that there are messages that should match your filters in the
mailboxes you are searching?

Could it be that the mailserver you are trying is not the latest version
and has a bug in its searching mechanism?

Just some thoughts...

> [...]




More information about the Imapfilter-devel mailing list