[imp] adding a new possibility to list of headers that can be filtered

Jan Schneider jan at horde.org
Wed Oct 13 13:47:56 PDT 2004


Zitat von Liam Hoekenga <liamr at umich.edu>:

> We're hosting IMP 3.2.x for a couple of sites that have purchased 
> Brightmail to
> handle spam filtering.  They've request the ability to filter by the
> X-Spam-Flag header using the native filtering built into IMP 3.2.x.  
> I've added
> what I think should work, but it doesn't.  The option is available from the
> filter screen.. the filterMailbox() function in IMP.php sees it in 
> the $filters
> array.. but it doesn't actually filter when based on rules using this header.
>
> I've attached my diff, but can anyone help me?

Only a few headers are supported by the imap_search function:
http://www.php.net/imap_search

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the imp mailing list