From 87eecf3419b99154b80081c7cfd6e074200c3712 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 30 Mar 2016 01:29:44 +0200
Subject: [PATCH] Extend mailfilters.

---
 dotfiles/user/server/minimal/mailfilter          | 7 +++++++
 dotfiles/user/server/personal/minimal/procmailrc | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/dotfiles/user/server/minimal/mailfilter b/dotfiles/user/server/minimal/mailfilter
index ce117f7..b8f3e1c 100644
--- a/dotfiles/user/server/minimal/mailfilter
+++ b/dotfiles/user/server/minimal/mailfilter
@@ -1,6 +1,13 @@
 DEFAULT="$HOME/mail/new_inbox/"
 logfile "$HOME/.mailfilter.log"
 
+if ( /^To: .*heller@talon\.one.*/:D || /^Subject: .*Talon*/:D )
+{
+    DIR="$HOME/mail/talonone/"
+    `mkdir -p $DIR/{cur,new,tmp}`
+    to $DIR
+}
+
 if ( /^Subject: Postfix SMTP server: errors from /:D && \
     /^From: Mail Delivery System <MAILER-DAEMON@plomlompom\.com>/:D && \
     /^To: Postmaster <postmaster@plomlompom\.com>/:D )
diff --git a/dotfiles/user/server/personal/minimal/procmailrc b/dotfiles/user/server/personal/minimal/procmailrc
index e62fa57..91bcd36 100644
--- a/dotfiles/user/server/personal/minimal/procmailrc
+++ b/dotfiles/user/server/personal/minimal/procmailrc
@@ -59,6 +59,10 @@ serverlogs/
 * ^Subject: ***SPAM***
 spam-suspect/
 
+:0
+* ^Subject: .*talon.*
+talonone/
+
 :0
 * ^From: Twitter 
 twitter/
-- 
2.30.2