X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/8ecfdf9e75d85409edbbff1d077ef6742fdf3002..5c5e66a1d3fdcd1b0562f928a07f526b6ec1244d:/procmail/spool diff --git a/procmail/spool b/procmail/spool index 325fe7c..128ba44 100644 --- a/procmail/spool +++ b/procmail/spool @@ -1,9 +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 +* MSG_TEST ?? . +{ LOG="spool: not saving test message$NL" } + +:0 E +*$ $MSG_DEJAVU +{ LOG="spool: not saving resubmitted message$NL" } + # vim:ft=procmail