summaryrefslogtreecommitdiff
path: root/.maildirproc
diff options
context:
space:
mode:
Diffstat (limited to '.maildirproc')
-rw-r--r--.maildirproc/default.rc14
1 files changed, 9 insertions, 5 deletions
diff --git a/.maildirproc/default.rc b/.maildirproc/default.rc
index a0f1af8..05efbcb 100644
--- a/.maildirproc/default.rc
+++ b/.maildirproc/default.rc
@@ -92,13 +92,18 @@ def my_filters(mail):
mail.move(".software.social")
return
- if mail["List-ID"].matches("maintenance.lists.parabolagnulinux.org"):
+ if mail["List-Id"].matches("help-grub.gnu.org"):
+ mail.move(".software.help-grub")
+ return
+
+ if mail["List-Id"].matches("maintenance.lists.parabolagnulinux.org"):
mail.move(".software.parabola-maintenance")
return
if (
False
- or mail["List-ID"].matches("parabolagnulinux.org")
+ or mail["List-Id"].matches("parabolagnulinux.org")
or is_to_or_from(mail, "parabolagnulinux.org")
+ or is_to_or_from(mail, "parabola.nu")
):
mail.move(".software.parabola-dev")
return
@@ -197,7 +202,6 @@ def my_filters(mail):
"esr@thyrsus.com",
"canonical.org",
"foocorp.net",
- "parabolagnulinux.org",
"cnuk.org",
]:
if is_to_or_from(mail,address):
@@ -227,11 +231,11 @@ def my_filters(mail):
mail.move(".CompTIA")
return
- if mail["From"].contains("@lnnorthstar.org"):
+ if is_to_or_from(mail, "@lnnorthstar.org"):
mail.move(".School.Newspaper")
return
- if mail["From"].contains("susyphil@aol.com"):
+ if is_to_or_from(mail,"susyphil@aol.com"):
mail.move(".PMCH")
for address in [