diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-09-14 12:34:33 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-09-14 12:34:33 -0400 |
commit | 6e26eb0820385cd44dadf2ba9633441715af382d (patch) | |
tree | adfd0d4d705b5e69e6a9f96f8af435ec74b9d889 /.config/maildirproc/att.rc | |
parent | 78e6b2b7cea114c2e7a42cfa166c1f2e0e318516 (diff) |
update mailfilters
Diffstat (limited to '.config/maildirproc/att.rc')
-rw-r--r-- | .config/maildirproc/att.rc | 14 |
1 files 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 ( |