User Tools

Site Tools


mdx_filters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mdx_filters [2011/08/08 18:54] – [Examples] danielmdx_filters [2012/01/28 02:28] (current) – [Restrictions] daniel
Line 30: Line 30:
  
 ====== Examples ====== ====== Examples ======
 +
 +These are examples of expressions that can be used in a filter (the filter actions being triggered when the expression evaluates to true).
  
   - From or to any address of a domain (dom.tld): <code>header("From") contains "@dom.tld" OR header("To") contains "@dom.tld"</code>   - From or to any address of a domain (dom.tld): <code>header("From") contains "@dom.tld" OR header("To") contains "@dom.tld"</code>
Line 35: Line 37:
   - From a mailing list: <code>header("List-Post") eq "<mailto:dbd-pg@perl.org>"</code>   - From a mailing list: <code>header("List-Post") eq "<mailto:dbd-pg@perl.org>"</code>
   - With a specific subject and sender: <code>header("subject") eq "Your Bugzilla buglist needs attention." AND header("From") eq "bugzilla-daemon@domain.tld"</code>   - With a specific subject and sender: <code>header("subject") eq "Your Bugzilla buglist needs attention." AND header("From") eq "bugzilla-daemon@domain.tld"</code>
- 
-====== Restrictions ====== 
-As of 0.9.11 
-  * Filters can't be applied retroactively, that is, applied to messages that existed before the filter was defined or modified. 
-  * The order of the conditions can't be changed within the user interface. 
-  * The user interface doesn't check the expressions for correctness, nor provides any way to test filters. If an expression is invalid and gets used by manitou-mdx during the filtering step, only then will it fail. 
  
  
mdx_filters.1312829663.txt.gz · Last modified: 2011/08/08 18:54 by daniel