[imp] Continued problems with filters (was: Can't get Ingo to do my filtering)

Dan Wilson dan at acucore.com
Tue Jun 10 10:27:19 PDT 2003


Ok... seeing as nobody seems to be on the ingo list, I will post this back to
the imp list.  I got some additional details on this.  I got (some) filters
working, but have some other issues.

1. The below appears to only happen with my Spam rule (which is filtering based
on the X-Spam-Status header).  So I'm assuming that it only happens with a php
based search rather than an imap search (using an imap function).

2. It looks like filters aren't running except on login.  Although I've got the
setting checked to filter whenever the inbox is displayed.

Can anyone help me with this?

Thanks,
-Dan

Quoting Dan Wilson <dan at acucore.com>:

> I get the following errors when logging in:
>
> Warning: Variable passed to key() is not an array or object in
> /home/dan/public_html/dev_horde/lib/IMAP/Search.php on line 296
>
> Notice: Undefined variable: flag in
> /home/dan/public_html/dev_horde/ingo/lib/Script/imap.php on line 204
>
> I updated from CVS today and got my old style imp filters converted.  But
> this
> is having problems.
>
> Here is my setup:
>
> Courier IMAP 1.6.1 (with vpopmail 5.2)
> IMP CVS-HEAD (as of today)
> Ingo CVS-HEAD (as of today)
>
> I took a peak at the code and it looks like it's not getting the inbox data
> prior to trying to run the search on it.  If I refresh the page (after
> getting
> the error), then it works (or rather it let's me view my inbox), but all my
> emails are matched to the first rule in the list (which happens to be my spam
> filter [on X-Spam-Status]), and are moved into my spam folder.  Which of
> course
> results in a no emails available in the Inbox for any rules to try to search.
>
> Thanks for any help.
>
> -Dan
>
> --
> Ingo mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: ingo-unsubscribe at lists.horde.org
>





More information about the imp mailing list