Re: Two copies of email when cc-ed in mailing lists

"Marcus C. Gottwald" <[email protected]>
Newsgroups gmane.mail.mutt.user
Message-ID <[email protected]>
Sadeep Madurange wrote (Sun 2024-Oct-27 10:38:01 +0800):

> In some lists, users send replies to the list address while cc-ing my
> email address. So, I get two copies of the same email.
> 
> Is there anything I can do so that I only receive/see one copy?

Mutt offers the pattern "~=" that matches on "duplicated
messages". You might be able to achieve the desired behaviour
by limiting the index display to "!~=".

   patterns: http://www.mutt.org/doc/manual/#patterns
   limiting: http://www.mutt.org/doc/manual/#index-menu

I'm sure there's some way to bind the limit function with that
pattern to a key, for quick execution. To have the pattern
applied whenever you enter a certain folder, a folder-hook
might be of help.

Not sure what you'd like to happen if you move one of the
duplicates to a different folder.

Personally, I'd never want messages to be hidden (and much
less deleted) automatically.

I'd suggest to "set sort=threads" (and
"set sort_aux=last-date-received"), and then living with the
copies should be easy.

Cheers, Marcus

-- 
   Marcus C. Gottwald  ·  <[email protected]>  ·  @mcg:cheers.de
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.