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