summaryrefslogtreecommitdiff
path: root/.maildirproc/default.rc
diff options
context:
space:
mode:
Diffstat (limited to '.maildirproc/default.rc')
-rw-r--r--.maildirproc/default.rc42
1 files changed, 26 insertions, 16 deletions
diff --git a/.maildirproc/default.rc b/.maildirproc/default.rc
index c2ad6f2..cbdc908 100644
--- a/.maildirproc/default.rc
+++ b/.maildirproc/default.rc
@@ -10,7 +10,9 @@ def is_to_or_from(mail,address):
Return true if [mail] is to or from an address that contains [address].
"""
return (
- mail["From"].contains(address)
+ False
+ or mail["From"].contains(address)
+ or mail["Reply-To"].contains(address)
or mail.target.contains(address))
def is_to_or_from_re(mail,address):
"""
@@ -90,6 +92,10 @@ def my_filters(mail):
mail.move(".software.social")
return
+ if mail["List-Id"].matches("networkmanager-list\.gnome\.org"):
+ mail.move(".software.networkmanager")
+ return
+
if mail["List-Id"].matches("maintenance.lists.parabolagnulinux.org"):
mail.move(".software.parabola-maintenance")
return
@@ -97,6 +103,7 @@ def my_filters(mail):
False
or mail["List-Id"].matches("parabolagnulinux.org")
or is_to_or_from(mail, "parabolagnulinux.org")
+ or is_to_or_from(mail, "kiwwwi.com.ar")
or is_to_or_from(mail, "parabola.nu")
):
mail.move(".software.parabola-dev")
@@ -166,6 +173,7 @@ def my_filters(mail):
"justicejade10@aol.com",
"parsonsjade@aol.com",
"parsonstjade@gmail.com",
+ "jadparso@umail.iu.edu",
]:
if mail["From"].contains(address):
mail.move(".misc.Jade")
@@ -190,23 +198,24 @@ def my_filters(mail):
# Sort mail from FRC people
for address in [
- "jeffreysmith@msdlt.k12.in.us",
- "jason.zielke@gmail.com",
- "allison.m.babcock@gmail.com",
- "william.walk@gmail.com",
+ "@ni.com",
+ "@usfirst.org",
"BBonahoom@stanleyworks.com",
- "wcxctrack829@aim.com", # Pat
+ "allison.m.babcock@gmail.com",
+ "bryanbonahoom@gmail.com",
+ "cdewalt3@yahoo.com",
+ "dave.nelson@ecolab.com",
+ "dickaustin190@yahoo.com",
"djnels1@comcast.net", # Dave and Julie Nelson
+ "gamefreak207@gmail.com", # Brett Leedy
+ "jason.zielke@gmail.com",
+ "jeffreysmith@msdlt.k12.in.us",
"sarahlittell@comcast.net",
+ "silioso@gmail.com",
"skiplittell@comcast.net",
- "dave.nelson@ecolab.com",
- "@ni.com",
- "@usfirst.org",
- "gamefreak207@gmail.com", # Brett Leedy
"tswilson4801@att.net",
- "silioso@gmail.com",
- "cdewalt3@yahoo.com",
- "bryanbonahoom@gmail.com",
+ "wcxctrack829@aim.com", # Pat
+ "william.walk@gmail.com",
]:
if is_to_or_from(mail,address):
mail.move(".School.Robotics")
@@ -224,6 +233,7 @@ def my_filters(mail):
# Sort mail from software people
for address in [
"gnu.org",
+ "gnome.org",
"eff.org",
"gitorious.org",
"sourceforge.com",
@@ -306,10 +316,10 @@ def my_filters(mail):
return
if (
False
- or mail["From"].contains(".edu")
+ #or mail["From"].contains(".edu")
or mail["From"].contains("admissions@")
- or mail["From"].contains("college")
- or mail["From"].contains("university")
+ #or mail["From"].contains("college")
+ #or mail["From"].contains("university")
or mail["Subject"].contains("college")
# now we get to the BS
or mail["From"].contains("@dreamitdoitindiana.com")