X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/ef6adc4e12e24a880432c6d6f7039163ce588510..9d605f0293bbaad08a701799251e805e105701b4:/procmail/spool

diff --git a/procmail/spool b/procmail/spool
index a224e91..128ba44 100644
--- a/procmail/spool
+++ b/procmail/spool
@@ -1,13 +1,20 @@
 :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" }
 
 # vim:ft=procmail