<<< Date Index >>>     <<< Thread Index >>>

Re: delete duplicate mails



On Sat, Aug 25, 2007 at 08:58:45PM +1000, Chris wrote:
> I read the previous posts and tried in my inbox - press D, use ~= as
> the search pattern, press $ to save. But nothing happens. ~= doesn't
> tag anything and so nothing  gets deleted. I am sure I have duplicate
> mails in my inbox as I downloaded each mail 2~3 times.
> 
> I use fetchmail(1) to get mails, procmail(1) filters them before they
> land on my inbox or in their specific mboxes. I'm using Mutt v1.5.12
> on OpenBSD4.1
> 
> Any kind of help would be much appreciated. Thanks.

procmail recipe to filter duplicates:

:0 Wh: $MAILDIR/msgid.lock
| formail -D 50000 $MAILDIR/msgid.cache


-b