X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/80cfa738b4c61d211347ac9038d8048a3a9b8799..288c39b47731e470c4dad5680c01e39f7e61c625:/procmail/duplicates diff --git a/procmail/duplicates b/procmail/duplicates index fc47f03..aa9f1b7 100644 --- a/procmail/duplicates +++ b/procmail/duplicates @@ -3,13 +3,12 @@ MID_CACHE_FILE = $PMVAR/msgid.cache LOCKFILE = $MID_CACHE_FILE$LOCKEXT :0 *$ !SKIP_DUP ?? . -*$ !$REPROC_MESSAGE +*$ !$MSG_DEJAVU * ^Message-ID: * ? $FORMAIL -D 16384 $MID_CACHE_FILE { LOG="duplicate: drop duplicate message $MSGID$NL" - - :0 - $NULL + LOCKFILE # unlock + SWITCHRC=$PMDIR/discard } LOCKFILE # unlock