On Mon, 26 Mar 2001, TheGolem wrote:
tg> Would you be so kind to explain exactly how this _technically_ works?
tg> Thanks,
tg>
tg> Hank
tg>
tg> On Sun, 18 Mar 2001, Timothy Luoma wrote:
tg>
tg> >
tg> > Oh, I think I know this one :-)
tg> >
tg> > :0Wh: .idfile.lock
tg> > | formail -D 8192 $PROCDIR/idfile
tg> >
The best explanation is the one supplied within 'man 5 procmailex' which
I've pasted below for you.
If you are subscribed to several mailinglists and people
cross-post to some of them, you usually receive several
duplicate mails (one from every list). The following sim
ple recipe eliminates duplicate mails. It tells formail
to keep an 8KB cache file in which it will store the Mes
sage-IDs of the most recent mails you received. Since
Message-IDs are guaranteed to be unique for every new
mail, they are ideally suited to weed out duplicate mails.
Simply put the following recipe at the top of your rcfile,
and no duplicate mail will get past it.
:0 Wh: msgid.lock
| formail -D 8192 msgid.cache
--
S.Toms - tomas(_at_)primenet(_dot_)com - www.primenet.com/~tomas
SuSE Linux v7.0+ - Kernel 2.2.18
For your penance, say five Hail Marys and one loud BLAH!
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail