procmail
[Top] [All Lists]

Re: Detecting and logging dupes

2001-08-28 20:31:13
Duncan Hill followed up,

| In retrospect, I need to keep a spare copy of all mail
| that has been seen as a duplicate.

In that case, you need a different approach:

 # regional lockfile is needed during condition (local lockfiles
 # work only during actions of matched recipes)
 LOCKFILE=msgid.cache$LOCKEXT

 :0 W # with regional lockfile in effect, local not needed
 * ? formail -D 32768 msgid.cache
 duplicates

 LOCKFILE # if not duplicate, remove regional lockfile



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>