summaryrefslogtreecommitdiff
path: root/.config/maildirproc/purdue.rc
diff options
context:
space:
mode:
Diffstat (limited to '.config/maildirproc/purdue.rc')
-rw-r--r--.config/maildirproc/purdue.rc68
1 files changed, 36 insertions, 32 deletions
diff --git a/.config/maildirproc/purdue.rc b/.config/maildirproc/purdue.rc
index 952e356..11b0d46 100644
--- a/.config/maildirproc/purdue.rc
+++ b/.config/maildirproc/purdue.rc
@@ -33,6 +33,10 @@ def piazza_topic(mail, topic):
def my_filters(mail):
# Generic stuff ########################################################
+ if is_to_or_from(mail,"@purestorage.com"):
+ mail.move("INBOX.purestorage")
+ return
+
if (
False
or mail["Subject"].contains("[PASE]")
@@ -347,38 +351,38 @@ def my_filters(mail):
# Spring 2016 ##########################################################
- # CS 422 (Networking)
- if (
- False
- or mail["Subject"].contains("spring-2016-cs-42200")
- or is_to_or_from(mail, "rkarandi@cs.purdue.edu")
- ):
- mail.move("INBOX.classes.2016-1.CS422")
- return
- # CS 456 (Programming Languages)
- if piazza_topic(mail, "CS 456"):
- mail.move("INBOX.classes.2016-1.CS456.Piazza")
- return
- # 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 (
- 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
+ # # CS 422 (Networking)
+ # if (
+ # False
+ # or mail["Subject"].contains("spring-2016-cs-42200")
+ # or is_to_or_from(mail, "rkarandi@cs.purdue.edu")
+ # ):
+ # mail.move("INBOX.classes.2016-1.CS422")
+ # return
+ # # CS 456 (Programming Languages)
+ # if piazza_topic(mail, "CS 456"):
+ # mail.move("INBOX.classes.2016-1.CS456.Piazza")
+ # return
+ # # 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 (
+ # 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 #####################################################
mail.move("INBOX.ham");