summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-14 12:34:33 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-14 12:49:02 -0400
commit49c8bcc1e9e68daedc86fc9d55f3ed6f964c22c0 (patch)
treecc54f70d2dbd5552820523706a046a3a4ad20f05
parent57a5875726d12d83f80223ddbb37fe9fb35ec804 (diff)
update mailfilters
-rw-r--r--.config/maildirproc/att.rc14
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 (