<?xml version="1.0"?>
<filteroptions>
  <ruleset>
    <rule enabled="true" grouping="all" source="incoming">
      <title>DCC Checked</title>
      <partset>
        <part name="regex">
          <value name="match-type" type="option" value="header"/>
          <value name="expression" type="regex">
            <regex>X-DCC-.+-Metrics: linux\.interlinx\.bc\.ca</regex>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="colour">
          <value type="colour" name="colour" spec="#00004163f45c"/>
        </part>
      </actionset>
    </rule>
    <rule enabled="true" grouping="any" source="incoming">
      <title>DCC-Bulky</title>
      <partset>
        <part name="regex">
          <value name="match-type" type="option" value="header"/>
          <value name="expression" type="regex">
            <regex>X-DCC-..*-Metrics: linux\.interlinx\.bc\.ca [0-9]+; .*(Body|Fuz[0-9])=([5-9]|[0-9]{2,}|many)</regex>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="colour">
          <value type="colour" name="colour" spec="#ffff0000068a"/>
        </part>
      </actionset>
    </rule>
    <rule enabled="true" grouping="all" source="incoming">
      <title>Postini identified spam</title>
      <partset>
        <part name="regex">
          <value name="match-type" type="option" value="header"/>
          <value name="expression" type="regex">
            <regex>X-pstn-levels: *(.* S: 0.[0-9][0-9][0-9][0-9] )</regex>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="colour">
          <value type="colour" name="colour" spec="#f64d9148bd96"/>
        </part>
      </actionset>
    </rule>
    <rule enabled="true" grouping="any" source="incoming">
      <title>Subject is Cron &lt;brian@linux&gt; fetchmail pop.cogeco.ca pop.kingston.net</title>
      <partset>
        <part name="subject">
          <value name="subject-type" type="option" value="contains"/>
          <value name="subject" type="string">
            <string>Cron &lt;brian@linux&gt; fetchmail pop.cogeco.ca pop.kingston.net</string>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="set-status">
          <value name="flag" type="option" value="Deleted"/>
        </part>
        <part name="set-status">
          <value name="flag" type="option" value="Seen"/>
        </part>
        <part name="stop"/>
      </actionset>
    </rule>
    <rule enabled="true" grouping="any" source="incoming">
      <title>color spam</title>
      <partset>
        <part name="header">
          <value name="header-field" type="string">
            <string>X-Spam-Level</string>
          </value>
          <value name="header-type" type="option" value="contains"/>
          <value name="word" type="string">
            <string>***</string>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="colour">
          <value type="colour" name="colour" spec="#ffff00000000"/>
        </part>
      </actionset>
    </rule>
    <rule enabled="true" grouping="any" source="incoming">
      <title>Junk spam</title>
      <partset>
        <part name="header">
          <value name="header-field" type="string">
            <string>X-Spam-Flag</string>
          </value>
          <value name="header-type" type="option" value="contains"/>
          <value name="word" type="string">
            <string>YES</string>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="set-status">
          <value name="flag" type="option" value="Junk"/>
        </part>
      </actionset>
    </rule>
    <rule enabled="true" grouping="any" source="incoming">
      <title>Subject is CDR Records Cust#:12345</title>
      <partset>
        <part name="subject">
          <value name="subject-type" type="option" value="is"/>
          <value name="subject" type="string">
            <string>CDR Records Cust#:12345</string>
          </value>
        </part>
        <part name="subject">
          <value name="subject-type" type="option" value="is"/>
          <value name="subject" type="string">
            <string>Monthly CDR Records</string>
          </value>
        </part>
      </partset>
      <actionset/>
    </rule>
    <rule enabled="true" grouping="any" source="incoming">
      <title>Subject is Invoice from Unlimitel ** Facture d'Unlimitel</title>
      <partset>
        <part name="subject">
          <value name="subject-type" type="option" value="contains"/>
          <value name="subject" type="string">
            <string>Invoice from Unlimitel ** Facture d'Unlimitel</string>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="copy-to-folder">
          <value name="folder" type="folder">
            <folder uri="email://1192558758.17489.0@pc/INBOX/Unlimitel"/>
          </value>
        </part>
      </actionset>
    </rule>
    <rule enabled="true" grouping="any" source="incoming">
      <title>Subject starts with =?utf-8?q?</title>
      <partset>
        <part name="subject">
          <value name="subject-type" type="option" value="starts with"/>
          <value name="subject" type="string">
            <string>=?utf-8?q?</string>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="set-status">
          <value name="flag" type="option" value="Junk"/>
        </part>
      </actionset>
    </rule>
    <rule enabled="true" grouping="all" source="incoming">
      <title>Subject is Cron &lt;root@xxx&gt; nice -n 19 run-parts --report /etc/cron.hourly</title>
      <partset>
        <part name="subject">
          <value name="subject-type" type="option" value="is"/>
          <value name="subject" type="string">
            <string>Cron &lt;root@xxx&gt; nice -n 19 run-parts --report /etc/cron.hourly</string>
          </value>
        </part>
        <part name="source">
          <value name="srcmatch-type" type="option" value="is"/>
          <value name="source" type="uri">
            <uri>imap://brian@linux/</uri>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="colour">
          <value type="colour" name="colour" spec="#3781e07a2138"/>
        </part>
        <part name="stop"/>
      </actionset>
    </rule>
    <rule enabled="true" grouping="any" source="incoming">
      <title>Subject is Cron &lt;root@xxx&gt; nice -n 19 run-parts --report /etc/cron.hourly 2</title>
      <partset>
        <part name="subject">
          <value name="subject-type" type="option" value="contains"/>
          <value name="subject" type="string">
            <string>Cron &lt;root@xxx&gt; nice -n 19 run-parts --report /etc/cron.hourly</string>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="colour">
          <value type="colour" name="colour" spec="#e0ecab44183b"/>
        </part>
        <part name="stop"/>
      </actionset>
    </rule>
    <rule enabled="true" grouping="any" source="incoming">
      <title>bluez-users</title>
      <partset>
        <part name="mlist">
          <value name="mlist-type" type="option" value="is"/>
          <value name="mlist" type="string">
            <string>bluez-users@lists.sourceforge.net</string>
          </value>
        </part>
      </partset>
      <actionset/>
    </rule>
    <rule enabled="true" grouping="any" source="incoming">
      <title>Delete "removed from orphan tracker"</title>
      <partset>
        <part name="body">
          <value name="body-type" type="option" value="contains"/>
          <value name="word" type="string">
            <string>removed from orphan tracker</string>
          </value>
        </part>
        <part name="body">
          <value name="body-type" type="option" value="contains"/>
          <value name="word" type="string">
            <string>move to customer group tracker</string>
          </value>
        </part>
        <part name="body">
          <value name="body-type" type="option" value="contains"/>
          <value name="word" type="string">
            <string>add to customer group tracker</string>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="set-status">
          <value name="flag" type="option" value="Deleted"/>
        </part>
      </actionset>
    </rule>
    <rule enabled="true" grouping="any" source="incoming">
      <title>stop processing for list mail</title>
      <partset>
        <part name="regex">
          <value name="match-type" type="option" value="header"/>
          <value name="expression" type="regex">
            <regex>^List-Id: .*$</regex>
          </value>
        </part>
        <part name="sender">
          <value name="sender-type" type="option" value="is"/>
          <value name="sender" type="string">
            <string>forums@gpspassion.fr</string>
          </value>
        </part>
        <part name="to">
          <value name="recipient-type" type="option" value="contains"/>
          <value name="recipient" type="address">
            <address>amanda-users@amanda.org</address>
          </value>
        </part>
        <part name="header">
          <value name="header-field" type="string">
            <string>Precedence</string>
          </value>
          <value name="header-type" type="option" value="is"/>
          <value name="word" type="string">
            <string>list</string>
          </value>
        </part>
        <part name="subject">
          <value name="subject-type" type="option" value="starts with"/>
          <value name="subject" type="string">
            <string>Monster Jobsearch Agent</string>
          </value>
        </part>
        <part name="header">
          <value name="header-field" type="string">
            <string>From</string>
          </value>
          <value name="header-type" type="option" value="is"/>
          <value name="word" type="string">
            <string>forums@gpspassion.com</string>
          </value>
        </part>
        <part name="header">
          <value name="header-field" type="string">
            <string>Precedence</string>
          </value>
          <value name="header-type" type="option" value="is"/>
          <value name="word" type="string">
            <string>bulk</string>
          </value>
        </part>
        <part name="header">
          <value name="header-field" type="string">
            <string>From</string>
          </value>
          <value name="header-type" type="option" value="is"/>
          <value name="word" type="string">
            <string>alerts@kijiji.com</string>
          </value>
        </part>
        <part name="to">
          <value name="recipient-type" type="option" value="contains"/>
          <value name="recipient" type="address">
            <address>ipsec-punchin-interest@sun.com</address>
          </value>
        </part>
        <part name="to">
          <value name="recipient-type" type="option" value="contains"/>
          <value name="recipient" type="address">
            <address>linux-punchin-users@sun.com</address>
          </value>
        </part>
        <part name="regex">
          <value name="match-type" type="option" value="header"/>
          <value name="expression" type="regex">
            <regex>^To: lustre-.*-team@sun\.com</regex>
          </value>
        </part>
        <part name="to">
          <value name="recipient-type" type="option" value="contains"/>
          <value name="recipient" type="address">
            <address>lustre-solutions@sun.com</address>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="colour">
          <value type="colour" name="colour" spec="#ce921333eccc"/>
        </part>
        <part name="stop"/>
      </actionset>
    </rule>
    <rule enabled="true" grouping="all" source="incoming">
      <title>increase score of all else</title>
      <partset>
        <part name="all"/>
      </partset>
      <actionset>
        <part name="adj-score">
          <value name="score" type="score" score="1"/>
        </part>
      </actionset>
    </rule>
    <rule enabled="true" grouping="any" source="incoming">
      <title>Subject is Mega Bytes Weekly</title>
      <partset>
        <part name="subject">
          <value name="subject-type" type="option" value="is"/>
          <value name="subject" type="string">
            <string>Mega Bytes Weekly</string>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="set-status">
          <value name="flag" type="option" value="Deleted"/>
        </part>
      </actionset>
    </rule>
    <rule enabled="true" grouping="all" source="incoming">
      <title>file away process_spam messages</title>
      <partset>
        <part name="subject">
          <value name="subject-type" type="option" value="starts with"/>
          <value name="subject" type="string">
            <string>process_spam results from</string>
          </value>
        </part>
      </partset>
      <actionset/>
    </rule>
  </ruleset>
</filteroptions>
