On Tue, Aug 25, 2020 at 01:05:39PM +0100, Chris Green <c...@isbd.net> wrote:
> On Tue, Aug 25, 2020 at 09:15:55AM +1000, raf wrote: > > On Mon, Aug 24, 2020 at 10:32:56AM +0100, Chris Green <c...@isbd.net> wrote: > > > > > I am on a mailing list which has two addresses, occasionally when one > > > does L[ist reply] the To: address is:- > > > > > > ix...@ixiemaster.ixion.org.uk, Ixilist <ix...@ixion.org.uk> > > > > > > At present I normally notice this and remove one of the addresses but > > > it would be nice if I could automate this. Is there a hook (send_hook > > > maybe) that can be used to change this? It can't just change every > > > case of either ix...@ixiemaster.ixion.org.uk or ix...@ixion.org.uk as > > > most of the time a L[ist reply] only gets a single address. > > > > > > -- > > > Chris Green > > > > It seems odd that a mailing list would have two > > addresses. Presumably the are interchangeable. If so, > > perhaps you could use procmail or imapfilter to replace > > all instances of one of the addresses with the other as > > the email arrives. That way, when you read it, mutt > > only sees one of the addresses. > > > It's the only list I'm on that's like this. I have a custom filter > program handling incoming mail so I *could* add a special rule but it > would have to step outside the normal logic of the filter. > > If I replace all occurrences of one address with the other won't mutt > then simply send a L[ist reply] to the same address twice? ... or does > mutt have internal logic such that it won't send mail to duplicated > addresses? > > -- > Chris Green You could apply the transformation to one email manually, and test that. cheers, raf