X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/8ecfdf9e75d85409edbbff1d077ef6742fdf3002..4005966fcc096aa73e6bf3d7daa9adedee211e63:/procmail/spool

diff --git a/procmail/spool b/procmail/spool
index 325fe7c..1463366 100644
--- a/procmail/spool
+++ b/procmail/spool
@@ -1,4 +1,7 @@
 :0 c
+*$ ! $MSG_DEJAVU
+* ! MSG_TEST ?? .
+* ! IS_SPAM ?? .
 {
   LOG="spool:       saving message $MSGID to spool$NL"
   TRAP
@@ -6,4 +9,12 @@
   $BASE/.spool/
 }
 
+:0 E
+* MSG_TEST ?? .
+{ LOG="spool:       not saving test message to spool$NL" }
+
+:0 E
+*$ $MSG_DEJAVU
+{ LOG="spool:       not saving resubmitted message to spool$NL" }
+
 # vim:ft=procmail