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