aboutsummaryrefslogtreecommitdiffstats
path: root/filter/vfoldertypes.xml
diff options
context:
space:
mode:
Diffstat (limited to 'filter/vfoldertypes.xml')
-rw-r--r--filter/vfoldertypes.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/filter/vfoldertypes.xml b/filter/vfoldertypes.xml
index bb12220d31..505a5948e1 100644
--- a/filter/vfoldertypes.xml
+++ b/filter/vfoldertypes.xml
@@ -21,6 +21,12 @@
</code>
<description lang="en">The Subject contains <source type="folder" name="words">words</source>.</description>
</rule>
+<rule name="body-contains">
+ <code>
+ (match-all (body-contains ${words}))
+ </code>
+ <description lang="en">The body contains <source type="folder" name="words">words</source>.</description>
+</rule>
<rule name="cc-address">
<code>
@@ -38,6 +44,12 @@
</code>
<description language="en">I am the receipient.</description>
</rule>
+<rule name="not-body-contains">
+ <code>
+ (match-all (not (body-contains ${words})))
+ </code>
+ <description lang="en">The body does not contain <source type="folder" name="words">words</source>.</description>
+</rule>
</ruleset>
<optionset>