diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-08-19 08:27:16 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-08-19 08:27:16 -0400 |
commit | 0f0f5304a275d750759d8e2ab2bf98b091fb044b (patch) | |
tree | cbdc6bd1ee5d625cc72442f67ad114f60decf795 | |
parent | ea4798dce3a4b848d1c7749fd26201a38e3c41bb (diff) |
update mail filters
-rw-r--r-- | .maildirproc/default.rc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.maildirproc/default.rc b/.maildirproc/default.rc index 8cfe5cd..55d037c 100644 --- a/.maildirproc/default.rc +++ b/.maildirproc/default.rc @@ -65,7 +65,11 @@ def handle_incoming_unknown(mail): def my_filters(mail): # Sort into software mailing lists - if mail["List-Id"].matches("bug-gsrc\.gnu\.org"): + if ( + False + or mail["List-Id"].matches("bug-gsrc\.gnu\.org") + or mail["Subject"].contains("bug-gsrc") + ): mail.move(".software.bug-gsrc") return @@ -139,6 +143,10 @@ def my_filters(mail): "dave.nelson@ecolab.com", "@ni.com", "@precisepath.com", + "gamefreak207@gmail.com", # Brett Leedy + "tswilson4801@att.net", + "justicejade10@aol.com", + "silioso@gmail.com", ]: if is_to_or_from(mail,address): mail.move(".School.Robotics") |