procmail
[Top] [All Lists]

Re: Safe duplicate filter

1998-01-28 11:31:49
        Author:        georg(_at_)ii(_dot_)uib(_dot_)no (Hans Georg Schaathun)
        Original-Date: Wed, 28 Jan 1998 13:43:09 +0100
        Message-ID:    
<199801281242(_dot_)NAA09179(_at_)gran(_dot_)ii(_dot_)uib(_dot_)no>

Can anyone suggest a fix ?
Or do I have to give up filtering duplicates ?

Yeah.... sorta.... there are broken mailers out there which do not generate  
unique IDs.... yes this is bad, but they do it.

Anyway, the best way I know of is to put dups in their own mailbox....

:0:
* ? formail -D 819200 $PROCDIR/idfile
Duplicates

I have setup my RC files so that I have an RC file which runs AFTER all my  
other recipes.... there may be a way to get a safer dup-check if you record  
the ID only *after* it has been delivered... but that wouldn't help for those  
who don't generate unique IDs...

TjL


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