X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/90b680896df34b1a64d4541ceea5491a58136558..475bb7cbe0390a7b89c095e3b022ee377f0d8ac8:/procmail/rules/feeds

diff --git a/procmail/rules/feeds b/procmail/rules/feeds
index 5f17bd6..350ddd6 100644
--- a/procmail/rules/feeds
+++ b/procmail/rules/feeds
@@ -1,10 +1,17 @@
 :0
 * ORIG_DOMAIN ?? ^r2e\.madduck\.net$
 {
-  DESTDIR=$BASE/.feeds
+  DELAY="$DELAY_TONIGHT"
+  DEST=feeds
 
   :0
-  ${DESTDIR}/
+  * ORIG_LOCAL ?? =twitter\.com$
+  * SUBJECT ?? ^[^:]+: @
+  * SUBJECT ?? ^\/[^:]+
+  {
+    LOG="feeds:      discarding twitter.com reply by $MATCH$NL"
+    SWITCHRC=$PMDIR/discard
+  }
 }
 
 # vim:ft=procmail