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 [2008/11/27 15:00] danielmdx_filters [2012/01/28 02:28] (current) – [Restrictions] daniel
Line 31: Line 31:
 ====== Examples ====== ====== Examples ======
  
-====== Restrictions ====== +These are examples of expressions that can be used in a filter (the filter actions being triggered when the expression evaluates to true). 
-As of 0.9.11 + 
-  * Filters can'be applied retroactively, that is, applied to messages that existed before the filter was defined or modified+  - From or to any address of a domain (dom.tld): <code>header("From") contains "@dom.tld" OR header("To") contains "@dom.tld"</code> 
-  * A user can't change the order of the conditions with the UI+  - Spam detected by spamassassin:  <code>header("X-Spam-Flag") eq "YES"</code> 
-  * The UI doesn't check the expressions for correctness, nor provides any way to test filtersIf an expression is invalid and gets used by manitou-mdx during the filtering step, only then will it fail.+  - 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>
  
  
mdx_filters.1227798030.txt.gz · Last modified: 2008/11/27 15:00 by daniel