[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Deleting duplicate messages with formail/procmail



> I'm not sure about what you are doing with formail currently, but I have the
> following at the top of my .procmailrc script and it works great:
> 
>     # avoid duplicate messages
>     :0 Whc: msgid.lock
>     | formail -D 16384 Admin/msgid.cache
> 
>     :0 a:
>     Admin/duplicates
> 
> Duplicates get dumped into the file duplicates in ~/Main/Admin just in case I

That looks good for avoiding future duplicates, but I need something that I
can run from the command-line a la 'cat mbox | formail -s procmail' that
will delete any duplicates it finds and leave the originals intact.  Any
thoughts?

-- 
my card...
  _______________________________________________
 |                                               |
 |            Jason Rashaad Jackson              |
 |  ____   ____                                  |
 | |    \ /    |  UNIX Systems Administrator     |
 |  |         |   2032 Dana Building             |
 |  |  |\ /|  |   (Office) 734.615.1422          |
 |  |  | . |  |   (Mobile) 734.649.6641          |
 | |___|   |___|  http://www.umich.edu/~jrashaad |
 | G O   B L U E                                 |
 |_______________________________________________|

Attachment: pgpEbXs2nGd2x.pgp
Description: PGP signature


Reply to: