diff options
Diffstat (limited to 'filter/vfoldertypes.xml')
-rw-r--r-- | filter/vfoldertypes.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/filter/vfoldertypes.xml b/filter/vfoldertypes.xml index 36157e6ffc..5f5ab473c6 100644 --- a/filter/vfoldertypes.xml +++ b/filter/vfoldertypes.xml @@ -275,5 +275,52 @@ <input type="system-flag" name="flag"/> </part> + <part name="mlist"> + <title>Mailing list</title> + <input type="optionlist" name="sender-type"> + <option value="contains"> + <title>contains</title> + <code>(match-all (header-contains "x-camel-mlist" ${sender}))</code> + </option> + <option value="not contains"> + <title>does not contain</title> + <code>(match-all (not (header-contains "x-camel-mlist" ${sender})))</code> + </option> + <option value="is"> + <title>is</title> + <code>(match-all (header-matches "x-camel-mlist" ${sender}))</code> + </option> + <option value="is not"> + <title>is not</title> + <code>(match-all (not (header-matches "x-camel-mlist" ${sender})))</code> + </option> + <option value="starts with"> + <title>starts with</title> + <code> + (match-all (header-starts-with "x-camel-mlist" ${sender})) + </code> + </option> + <option value="not starts with"> + <title>does not start with</title> + <code> + (match-all (not (header-starts-with "x-camel-mlist" ${sender}))) + </code> + </option> + <option value="ends with"> + <title>ends with</title> + <code> + (match-all (header-ends-with "x-camel-mlist" ${sender})) + </code> + </option> + <option value="not ends with"> + <title>does not end with</title> + <code> + (match-all (not (header-ends-with "x-camel-mlist" ${sender}))) + </code> + </option> + </input> + <input type="string" name="sender"/> + </part> + </partset> </filterdescription> |