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 revisionBoth sides next revision
mdx_filters [2009/07/09 17:43] danielmdx_filters [2011/08/08 18:54] – [Examples] daniel
Line 30: Line 30:
  
 ====== Examples ====== ====== Examples ======
 +
 +  - From or to any address of a domain (dom.tld): <code>header("From") contains "@dom.tld" OR header("To") contains "@dom.tld"</code>
 +  - Spam detected by spamassassin:  <code>header("X-Spam-Flag") eq "YES"</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>
  
 ====== Restrictions ====== ====== Restrictions ======
mdx_filters.txt · Last modified: 2012/01/28 02:28 by daniel