procmail
[Top] [All Lists]

Re: Duplicates

2002-03-05 13:18:44
From: "Erich Kolb" <ekolb(_at_)kolbsoft(_dot_)com>

Does anyone have an example of a procmail recipe or perl script that will
remove all duplicates from a mailbox?

Yes, there's an excellent such recipe in the procmailex man pages.

To run an existing mailbox through the filter, move the mailbox
to a place that will not be written to by procmail, and then

        formail -s procmail < mailbox


You might or might not need a couple of other formail flags.
Look at archives of this list within the last two weeks, where
the current procmail maintainer explained this in detail (yet
again).  And look at the FAQs, accessible from www.procmail.org.

-- 
dman
_______________________________________________
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>
  • Duplicates, Erich Kolb
    • Re: Duplicates, Dallman Ross <=