diff options
Diffstat (limited to '.config/maildirproc/att.rc')
-rw-r--r-- | .config/maildirproc/att.rc | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/.config/maildirproc/att.rc b/.config/maildirproc/att.rc index ac70c8a..e862b3f 100644 --- a/.config/maildirproc/att.rc +++ b/.config/maildirproc/att.rc @@ -99,10 +99,22 @@ def my_filters(mail): return if mail["List-Id"].matches("maintenance.lists.parabolagnulinux.org"): + if mail["From"].contains("monit@"): + if mail["Message-Id"].contains("@repo.parabolagnulinux.org"): + mail.move(".software.parabola-maintenance.monit-repo") + return + if mail["Message-Id"].contains("@rshg054.dnsready.net"): + mail.move(".software.parabola-maintenance.monit-rshg054") + return + if mail["Subject"].matches("Cron <.*@repo>"): + mail.move(".software.parabola-maintenance.cron-repo") + return + if mail["Subject"].matches("Cron <.*@rshg054>"): + mail.move(".software.parabola-maintenance.cron-rshg054") + return mail.move(".software.parabola-maintenance") return - if is_to_or_from(mail, "parabola.nu"): mail.move(".software.parabola-labs") return @@ -228,7 +240,6 @@ def my_filters(mail): mail.move(".School.Robotics") return for subject_re in [ - "FIRST", "robotics", "1024", "kil-?a-?bytes", |