diff options
author | Not Zed <NotZed@Ximian.com> | 2001-02-23 07:33:15 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-02-23 07:33:15 +0800 |
commit | f35cb5cffeba729dce3971199a5f49b6b07d6237 (patch) | |
tree | ad6a826db985e440160b181f5dd634916a8bebe1 | |
parent | 978bfbefbb3386979d93c5ef7d6294edaf3dd97b (diff) | |
download | gsoc2013-evolution-f35cb5cffeba729dce3971199a5f49b6b07d6237.tar gsoc2013-evolution-f35cb5cffeba729dce3971199a5f49b6b07d6237.tar.gz gsoc2013-evolution-f35cb5cffeba729dce3971199a5f49b6b07d6237.tar.bz2 gsoc2013-evolution-f35cb5cffeba729dce3971199a5f49b6b07d6237.tar.lz gsoc2013-evolution-f35cb5cffeba729dce3971199a5f49b6b07d6237.tar.xz gsoc2013-evolution-f35cb5cffeba729dce3971199a5f49b6b07d6237.tar.zst gsoc2013-evolution-f35cb5cffeba729dce3971199a5f49b6b07d6237.zip |
Added mailing list matching rules.
2001-02-23 Not Zed <NotZed@Ximian.com>
* filtertypes.xml: Added mailing list matching rules.
* vfoldertypes.xml: Added mailing list rules.
svn path=/trunk/; revision=8356
-rw-r--r-- | filter/ChangeLog | 6 | ||||
-rw-r--r-- | filter/filtertypes.xml | 47 | ||||
-rw-r--r-- | filter/libfilter-i18n.h | 1 | ||||
-rw-r--r-- | filter/vfoldertypes.xml | 47 |
4 files changed, 101 insertions, 0 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index bde9b4f311..101fe65c9a 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,9 @@ +2001-02-23 Not Zed <NotZed@Ximian.com> + + * filtertypes.xml: Added mailing list matching rules. + + * vfoldertypes.xml: Added mailing list rules. + 2001-02-11 Gediminas Paulauskas <menesis@delfi.lt> * filter.glade.h: removed. diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml index f8c6f6ef91..d0fdf7156f 100644 --- a/filter/filtertypes.xml +++ b/filter/filtertypes.xml @@ -433,6 +433,53 @@ <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> + <part name="regex"> <title>Regex Match</title> <input type="optionlist" name="match-type"> diff --git a/filter/libfilter-i18n.h b/filter/libfilter-i18n.h index ffc805f9bb..db555323c1 100644 --- a/filter/libfilter-i18n.h +++ b/filter/libfilter-i18n.h @@ -7,6 +7,7 @@ char *s = N_("Date sent"); char *s = N_("Delete"); char *s = N_("Expression"); char *s = N_("Forward to Address"); +char *s = N_("Mailing list"); char *s = N_("Message Body"); char *s = N_("Message Header"); char *s = N_("Message was received"); 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> |