From 49c8bcc1e9e68daedc86fc9d55f3ed6f964c22c0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 14 Sep 2016 12:34:33 -0400 Subject: update mailfilters --- .config/maildirproc/att.rc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.config/maildirproc/att.rc b/.config/maildirproc/att.rc index e37b62f..ecd9c20 100644 --- a/.config/maildirproc/att.rc +++ b/.config/maildirproc/att.rc @@ -173,6 +173,8 @@ def my_filters(mail): [ 'archlinux.org', 'archlinux' ], [ 'lists.freedesktop.org', 'freedesktop' ], [ 'lists.fedorahosted.org', 'fedorahosted' ], + [ 'lists.arthurdejong.org', 'arthurdejong' ], + [ 'lists.stanford.edu', 'stanford' ], [ 'lists.parabola.nu', 'parabola' ], [ 'parabola.nu', 'parabola' ] ]: list = mailman_domain(mail, pair[0]) @@ -192,10 +194,6 @@ def my_filters(mail): ): move_ham(mail, ".software.parabola") return - - if is_to_or_from(mail, "liberationtech-jobs@lists.stanford.edu"): - move_ham(mail, ".software.jobs") - return # Sort mail from some social websites if mail["From"].matches("facebook(|mail)\.com"): @@ -227,6 +225,14 @@ def my_filters(mail): if mail["From"].matches("@xkcd\.com"): move_ham(mail, ".Social.xkcd") return + + if mail["From"].matches("schwab\.com"): + move_ham(mail, ".schwab") + return + + if mail["From"].matches("@ebay\.com"): + move_ham(mail, ".ebay") + return # Sort mail related to Troop 276 if ( -- cgit v1.2.3