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

Re: delete duplicated mails



On Tuesday, 23 September 2008, 09:10 (UTC+0800), bill lam wrote:
> Hello,
> After forwarding or copying, there are duplicated mails in local
> maibox folder. Is there an method to duplicated mails and only keep a
> copy of each mail? The "Message-ID" field in header section is
> intended to be the key field.

in  muttrc:
set duplicate_threads = yes

then: 

D~=

(i.e. <delete-pattern>~= )

I've actually got a folder-hook set to do this:

folder-hook . push "<delete-pattern>~=<enter>"

m.