X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/90270bf88153b9fe0029d0b52aad47bc91ea1064..295ee74be1fa3111afe6d33defd664a280d0b7cb:/procmail/spool

diff --git a/procmail/spool b/procmail/spool
index 61a7321..0600c9a 100644
--- a/procmail/spool
+++ b/procmail/spool
@@ -1,13 +1,24 @@
 :0 c
 *$ ! $MSG_DEJAVU
+* ! MSG_TEST ?? .
+* ! IS_SPAM ?? .
 {
-  LOG="spool:       saving message $MSGID to spool$NL"
+  LOG="spool:       saving message $MSGID$NL"
   TRAP
   :0
   $BASE/.spool/
 }
 
 :0 E
-{ LOG="spool:       not saving resubmitted message to spool$NL" }
+* MSG_TEST ?? .
+{ LOG="spool:       not saving test message$NL" }
+
+:0 E
+*$ $MSG_DEJAVU
+{ LOG="spool:       not saving resubmitted message$NL" }
+
+:0
+* ORIGINAL_TO ?? ^madduck\+spool@madduck\.net$
+$NULL
 
 # vim:ft=procmail