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.rc15
1 files changed, 15 insertions, 0 deletions
diff --git a/.config/maildirproc/att.rc b/.config/maildirproc/att.rc
index 4532bec..ecd9c20 100644
--- a/.config/maildirproc/att.rc
+++ b/.config/maildirproc/att.rc
@@ -101,6 +101,7 @@ def handle_incoming_unknown(mail):
# Whitelist
if (
False
+ or is_to_or_from(mail, "@purestorage.com")
or is_to_or_from(mail, "Bryan@ChankTunUnGi.onmicrosoft.com")
or is_to_or_from(mail, "cacnedcomms@gmail.com")
or is_to_or_from(mail, "fsf.org")
@@ -158,6 +159,10 @@ def handle_incoming_unknown(mail):
return
def my_filters(mail):
+ if is_to_or_from(mail,"@purestorage.com"):
+ move_ham(mail, ".purestorage")
+ return
+
# Sort mail from various mailing lists
# https://lists.gnu.org/mailman/options/bug-librejs/lukeshu@sbcglobal.net
# https://lists.nongnu.org/mailman/options/libreboot/lukeshu@sbcglobal.net
@@ -168,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])
@@ -218,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 (