X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/80cfa738b4c61d211347ac9038d8048a3a9b8799..f33448f87ae070a09476064a19cbfb89aa5a6c2e:/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