summaryrefslogtreecommitdiff
path: root/.config/maildirproc/att.rc
diff options
context:
space:
mode:
Diffstat (limited to '.config/maildirproc/att.rc')
-rw-r--r--.config/maildirproc/att.rc33
1 files changed, 23 insertions, 10 deletions
diff --git a/.config/maildirproc/att.rc b/.config/maildirproc/att.rc
index e862b3f..381ce8f 100644
--- a/.config/maildirproc/att.rc
+++ b/.config/maildirproc/att.rc
@@ -76,7 +76,7 @@ def handle_incoming_unknown(mail):
def my_filters(mail):
# Sort mail from GNU mailing lists
- for list in [ 'bug-gsrc', 'bug-make', 'help-make', 'social', 'help-grub', 'bug-gnuzilla' ]:
+ for list in [ 'bug-gsrc', 'bug-make', 'help-make', 'social', 'help-grub', 'bug-gnuzilla', 'bug-librejs' ]:
if (
False
or mail["List-Id"].matches(list+"\.gnu\.org")
@@ -101,6 +101,9 @@ def my_filters(mail):
if mail["List-Id"].matches("maintenance.lists.parabolagnulinux.org"):
if mail["From"].contains("monit@"):
if mail["Message-Id"].contains("@repo.parabolagnulinux.org"):
+ if mail["Subject"].matches("^\[Maintenance\] monit alert -- (Execution|Connection) (succeeded|failed) sshd$"):
+ mail.move(".software.parabola-maintenance.monit-repo.sshd")
+ return
mail.move(".software.parabola-maintenance.monit-repo")
return
if mail["Message-Id"].contains("@rshg054.dnsready.net"):
@@ -125,6 +128,9 @@ def my_filters(mail):
or is_to_or_from(mail, "parabolagnulinux.org")
or is_to_or_from(mail, "kiwwwi.com.ar")
):
+ if mail["Subject"].contains("[Django]"):
+ mail.move(".software.parabola-maintenance.django")
+ return
mail.move(".software.parabola-dev")
return
@@ -132,6 +138,10 @@ def my_filters(mail):
mail.move(".software.pacman-dev")
return
+ if (mail["List-Id"].matches("systemd-devel.lists.freedesktop.org")):
+ mail.move(".software.systemd-devel")
+ return
+
for subject_re in [
"\[Stow-[^\]]*\].*",
]:
@@ -179,6 +189,7 @@ def my_filters(mail):
or is_to_or_from(mail,"mitchprather@sbcglobal.net")
or is_to_or_from(mail,"oa_wap@yahoo.com")
or is_to_or_from(mail,"mytroop.us")
+ or is_to_or_from(mail,"crossroadsbsa.org")
):
mail.move(".Troop276")
return
@@ -250,20 +261,21 @@ def my_filters(mail):
# Sort mail from software people
for address in [
- "gnu.org",
- "gnome.org",
+ "@archlinux.org",
+ "@fsf.org",
+ "@github.com",
+ "canonical.org",
+ "cnuk.org",
"eff.org",
+ "esr@thyrsus.com",
+ "foocorp.net",
"gitorious.org",
- "sourceforge.com",
+ "gnome.org",
+ "gnu.org",
"ietf.org",
"kde.org",
+ "sourceforge.com",
"trustees@core3.amsl.com",
- "esr@thyrsus.com",
- "canonical.org",
- "foocorp.net",
- "cnuk.org",
- "@archlinux.org",
- "@github.com",
]:
if is_to_or_from(mail,address):
mail.move(".software")
@@ -305,6 +317,7 @@ def my_filters(mail):
or mail["Subject"].contains("newsletter")
or mail["From"].contains("Info@mailing.jamendo.com")
or mail["From"].contains("info@demandprogress.org")
+ or (mail["From"].contains("@sparkfun.com") and mail["Message-Id"].contains("rsgsv.net"))
):
mail.move(".misc.Newsletters")
return