:0 c *$ ! $MSG_DEJAVU * ! MSG_TEST ?? . { LOG="spool: saving message $MSGID to spool$NL" TRAP :0 $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