diff options
Diffstat (limited to '.config/maildirproc')
-rw-r--r-- | .config/maildirproc/att.rc | 8 | ||||
-rw-r--r-- | .config/maildirproc/purdue.rc | 11 |
2 files changed, 17 insertions, 2 deletions
diff --git a/.config/maildirproc/att.rc b/.config/maildirproc/att.rc index 6b31260..4bbd297 100644 --- a/.config/maildirproc/att.rc +++ b/.config/maildirproc/att.rc @@ -77,8 +77,10 @@ def handle_incoming_unknown(mail): or is_to_or_from(mail, "parabola.nu") or is_to_or_from(mail, "parabolagnulinux.org") or mail["From"] == "MAILER-DAEMON@yahoo.com" + or mail["From"] == "3174451635@mms.att.net" or mail["From"].contains("@facebookmail.com>") or mail["From"].contains("@gandi.net") + or mail["From"].contains("@github.com>") or mail["From"].contains("@goodwillindy.org>") or mail["From"].contains("@lpi.org>") or mail["From"].contains("@msdlt.k12.in.us>") @@ -86,6 +88,7 @@ def handle_incoming_unknown(mail): or mail["From"].contains("@post.oreilly.com>") or mail["From"].contains("@scouting.org>") or mail["From"].contains("@wolframalpha.com>") + or mail["From"].contains("margieshu@sbcglobal.net") or mail["From"].contains("parabolagnulinux.org") or mail["List-Id"].matches(".*\.(gnu|gnome|archlinux|parabolagnulinuxlibre)\.org") or mail["List-Id"].matches(".*\.parabola\.nu") @@ -287,6 +290,10 @@ def my_filters(mail): move_ham(mail,".School.Robotics") return + if mail["Subject"].contains("[Quizroom]"): + move_ham(mail,".School.CS408") + return + # Sort mail from software people for address in [ "@archlinux.org", @@ -301,6 +308,7 @@ def my_filters(mail): "@gnu.org", "@ietf.org", "@kde.org", + "@nongnu.org", "@sourceforge.com", "@thyrsus.com", "trustees@core3.amsl.com", diff --git a/.config/maildirproc/purdue.rc b/.config/maildirproc/purdue.rc index b1f64af..e74a071 100644 --- a/.config/maildirproc/purdue.rc +++ b/.config/maildirproc/purdue.rc @@ -104,6 +104,10 @@ def my_filters(mail): mail.move("INBOX.work.2013.Comcast") return + if is_to_or_from(mail,"@Cartus.com"): + mail.move("INBOX.work.2015.qualcomm") + return + if ( False or mail["Subject"].contains("[CS Opportunity Update]") @@ -265,10 +269,13 @@ def my_filters(mail): return # CS448 (Databases) if piazza_topic(mail, "CS 44800"): - mail.move("INBOX.classes.2015.1.CS448") + mail.move("INBOX.classes.2015-1.CS448") return # ME297 (FRC) - if mail["Subject"].contains("[ME297]"): + if (False + or mail["Subject"].contains("[ME297]") + or is_to_or_from(mail, "heller5@purdue.edu") + ): mail.move("INBOX.classes.2015-1.ME297") return # SOC324 (Criminology) |