* Jason Rashaad Jackson <[EMAIL PROTECTED]> spake thus:
> > 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?

Yeah. 

$ mv mbox mbox-old && formail -s procmail < mbox-old

Your duplicate-free mail should now be in mbox.

Regards,
Stig

-- 
brautaset.org
Registered Linux User 107343

Reply via email to