summaryrefslogtreecommitdiff
path: root/.maildirproc/default.rc
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-08-30 19:34:27 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-08-30 19:34:27 -0400
commit9e4c6dfa62435895d777c658b71aafb67638c549 (patch)
tree5ee95c8dfa6002261507e6729c624f31a7e3a2c0 /.maildirproc/default.rc
parentd794d461f2e91af847beed7783cde2c7e65fd725 (diff)
add a few mail filters
Diffstat (limited to '.maildirproc/default.rc')
-rw-r--r--.maildirproc/default.rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.maildirproc/default.rc b/.maildirproc/default.rc
index 24f51e8..a323e5e 100644
--- a/.maildirproc/default.rc
+++ b/.maildirproc/default.rc
@@ -102,6 +102,10 @@ def my_filters(mail):
mail.move(".software.parabola-dev")
return
+ if (mail["List-Id"].matches("pacman-dev@archlinux.org")):
+ mail.move(".software.pacman-dev")
+ return
+
for subject_re in [
"\[Stow-[^\]]*\].*",
]:
@@ -148,6 +152,7 @@ def my_filters(mail):
or is_to_or_from(mail,"eldredmac@comcast.net")# MacDonell
or is_to_or_from(mail,"mitchprather@sbcglobal.net")
or is_to_or_from(mail,"oa_wap@yahoo.com")
+ or is_to_or_from(mail,"mytroop.us")
):
mail.move(".Troop276")
return
@@ -221,6 +226,8 @@ def my_filters(mail):
"canonical.org",
"foocorp.net",
"cnuk.org",
+ "@archlinux.org",
+ "@github.com",
]:
if is_to_or_from(mail,address):
mail.move(".software")