On Fri, Nov 18, 2011 at 09:02:37AM +0100, Stas Verberkt wrote: > On Thu, Nov 17, 2011 at 02:21:19PM +0000, Chris Green wrote: > > I want to filter out some cases where E-Mail gets sent to two addresses > > and should only be sent to one address. > > > > E.g. I have a mailing list where for various nefarious reasons when I do > > a L[ist reply] the To: line is as follows:- > > > > To: ix...@ixion.org.uk, ix...@ixiemaster.ixion.org.uk > > > > So can I use a send-hook to replace the above To: with a corrected, > > single destination, To: ? > > > If I read this link correctly: > http://www.mutt.org/doc/manual/manual-4.html#patterns > > Can't you do something like: > "~t ix...@ixion.org.uk ~t ix...@ixiemaster.ixion.org.uk" > It looks as if that should work doesn't it, I'll try.
Do I need to explicitly remove the existing To: header, and for that matter *can* I remove it? -- Chris Green