aboutsummaryrefslogtreecommitdiffstats
path: root/default_user/searches.xml
diff options
context:
space:
mode:
Diffstat (limited to 'default_user/searches.xml')
-rw-r--r--default_user/searches.xml73
1 files changed, 73 insertions, 0 deletions
diff --git a/default_user/searches.xml b/default_user/searches.xml
new file mode 100644
index 0000000000..2a05fb98db
--- /dev/null
+++ b/default_user/searches.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0"?>
+<filteroptions>
+ <ruleset>
+ <rule grouping="any" source="demand">
+ <title>Body or subject contains</title>
+ <partset>
+ <part name="subject">
+ <value name="subject-type" type="option" value="contains"/>
+ <value name="subject" type="string">
+ <string>crap</string>
+ </value>
+ </part>
+ <part name="body">
+ <value name="body-type" type="option" value="contains"/>
+ <value name="word" type="string">
+ <string>crap</string>
+ </value>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+ <rule grouping="any" source="demand">
+ <title>Body contains</title>
+ <partset>
+ <part name="body">
+ <value name="body-type" type="option" value="contains"/>
+ <value name="word" type="string"/>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+ <rule grouping="any" source="demand">
+ <title>Subject contains</title>
+ <partset>
+ <part name="subject">
+ <value name="subject-type" type="option" value="contains"/>
+ <value name="subject" type="string"/>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+ <rule grouping="any" source="demand">
+ <title>Body does not contain</title>
+ <partset>
+ <part name="body">
+ <value name="body-type" type="option" value="not contains"/>
+ <value name="word" type="string"/>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+ <rule grouping="any" source="demand">
+ <title>Subject does not contain</title>
+ <partset>
+ <part name="subject">
+ <value name="subject-type" type="option" value="not contains"/>
+ <value name="subject" type="string"/>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+ <rule grouping="any" source="demand">
+ <title>Sender contains</title>
+ <partset>
+ <part name="sender">
+ <value name="sender-type" type="option" value="contains"/>
+ <value name="sender" type="string"/>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+ </ruleset>
+</filteroptions>