summaryrefslogtreecommitdiff
path: root/.config/maildirproc/purdue.rc
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:17:46 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:21:08 -0500
commite76068f0dacf0146fe58144abbca6f923743210b (patch)
tree491864e8ef6761a4a7ba033eda69fc51cba9e8b3 /.config/maildirproc/purdue.rc
parent3f3fbd746fe00652e9438a94954ab062304e892b (diff)
updated email stuff
Diffstat (limited to '.config/maildirproc/purdue.rc')
-rw-r--r--.config/maildirproc/purdue.rc94
1 files changed, 65 insertions, 29 deletions
diff --git a/.config/maildirproc/purdue.rc b/.config/maildirproc/purdue.rc
index 06f349b..952e356 100644
--- a/.config/maildirproc/purdue.rc
+++ b/.config/maildirproc/purdue.rc
@@ -83,6 +83,7 @@ def my_filters(mail):
or is_to_or_from(mail, "rentpayment.com")
or is_to_or_from(mail, "@vectren.com")
or is_to_or_from(mail, "@vectrenemail.com")
+ or is_to_or_from(mail, "@apartments247.com")
):
mail.move("INBOX.housing.BeauJardin")
return
@@ -135,7 +136,7 @@ def my_filters(mail):
mail.move("INBOX.POSIX")
return
- if mail["From"].contains("build@travis-ci.org"):
+ if mail["From"].contains("builds@travis-ci.org"):
mail.move("INBOX.crap.TravisCI")
return
@@ -306,42 +307,77 @@ def my_filters(mail):
# mail.move("INBOX.classes.2015-1.SOC324")
# return
- # Spring 2015 ###############################z##########################
+ # # Fall 2015 ############################################################
- # CHM 490 (History & Philosophy of Science)
- if is_to_or_from(mail, "gmbodner@purdue.edu"):
- mail.move("INBOX.classes.2015-2.CHM490")
- return
- # CS 334 (Graphics)
+ # # CHM 490 (History & Philosophy of Science)
+ # if is_to_or_from(mail, "gmbodner@purdue.edu"):
+ # mail.move("INBOX.classes.2015-2.CHM490")
+ # return
+ # # CS 334 (Graphics)
+ # if (
+ # False
+ # or mail["Subject"].contains("fall-2015-cs-33400-le1")
+ # or is_to_or_from(mail, "aliaga@purdue.edu")
+ # or is_to_or_from(mail, "abejara@purdue.edu")
+ # ):
+ # mail.move("INBOX.classes.2015-2.CS334")
+ # return
+ # if piazza_topic(mail, "CS 334"):
+ # mail.move("INBOX.classes.2015-2.CS334.Piazza")
+ # return
+ # # CS 490 (Senior Project)
+ # if is_to_or_from(mail, "anesen@purdue.edu"):
+ # mail.move("INBOX.classes.2015-2.CS490")
+ # return
+ # if piazza_topic(mail, "CS 49000"):
+ # mail.move("INBOX.classes.2015-2.CS490.Piazza")
+ # return
+ # # MA 416 (Probability)
+ # if mail["Subject"].contains("fall-2015-ma-41600"):
+ # mail.move("INBOX.classes.2015-2.MA416")
+ # return
+ # if piazza_topic(mail, "SELLKE 416 "):
+ # mail.move("INBOX.classes.2015-2.MA416.Piazza")
+ # return
+
+ # # FRC 4272
+ # if mail["Subject"].contains("[ME297]"):
+ # mail.move("INBOX.classes.2015-2.FRC4272")
+ # return
+
+ # Spring 2016 ##########################################################
+
+ # CS 422 (Networking)
if (
False
- or mail["Subject"].contains("fall-2015-cs-33400-le1")
- or is_to_or_from(mail, "aliaga@purdue.edu")
- or is_to_or_from(mail, "abejara@purdue.edu")
+ or mail["Subject"].contains("spring-2016-cs-42200")
+ or is_to_or_from(mail, "rkarandi@cs.purdue.edu")
):
- mail.move("INBOX.classes.2015-2.CS334")
- return
- if piazza_topic(mail, "CS 334"):
- mail.move("INBOX.classes.2015-2.CS334.Piazza")
- return
- # CS 490 (Senior Project)
- if is_to_or_from(mail, "anesen@purdue.edu"):
- mail.move("INBOX.classes.2015-2.CS490")
+ mail.move("INBOX.classes.2016-1.CS422")
return
- if piazza_topic(mail, "CS 49000"):
- mail.move("INBOX.classes.2015-2.CS490.Piazza")
+ # CS 456 (Programming Languages)
+ if piazza_topic(mail, "CS 456"):
+ mail.move("INBOX.classes.2016-1.CS456.Piazza")
return
- # MA 416 (Probability)
- if mail["Subject"].contains("fall-2015-ma-41600"):
- mail.move("INBOX.classes.2015-2.MA416")
- return
- if piazza_topic(mail, "SELLKE 416 "):
- mail.move("INBOX.classes.2015-2.MA416.Piazza")
+ # VFS 491 (Mafia in the Movies)
+ if (
+ False
+ or mail["Subject"].contains("spring-2016-fvs-49100")
+ or is_to_or_from(mail, "lawton@purdue.edu")
+ ):
+ mail.move("INBOX.classes.2016-1.FVS491")
return
-
# FRC 4272
- if mail["Subject"].contains("[ME297]"):
- mail.move("INBOX.classes.2015-2.FRC4272")
+ if (
+ False
+ or mail["Subject"].contains("[ME297]")
+ or is_to_or_from(mail, "firstteam4272@gmail.com")
+ or is_to_or_from(mail, "@tscstudents.net")
+ or is_to_or_from(mail, "abenyeho@purdue.edu")
+ or is_to_or_from(mail, "Henry65@purdue.edu")
+ or is_to_or_from(mail, "chang282@purdue.edu")
+ ):
+ mail.move("INBOX.classes.2016-1.FRC4272")
return
# Everything else #####################################################