I asked about this a while ago but, having played with various send-hook
ideas I haven't managed to do what I need to do.

I have a mailing list where in some cases, when I L[ist reply] the To:
address ends up as follows:-

    To: [email protected], [email protected]

When this happens I want to change the To: addres to just:-

    To: [email protected]

(or the other one with ixiemaster in it, doesn't really matter).

I can't see any way to prevent the generation of the double address, it
happens because mutt sees two list addresses in the headers and that's
just an idiosyncrasy of the list that I can do nothing about.  I can't
set my lists/subscribe to just one of [email protected] or
[email protected] because then I won't see all messages as being list
messages. 

So, I want a way to edit the header before sending the message if it has
the two addresses as above.  I can hook the message easily enough but
doing something like:-

    send-hook '~t ixion' 'my_hdr To: [email protected]'

just *adds* [email protected] to the To: header, it doesn't replace the
existing addresses there.  

Is there no way to *replace* a header (it's generated by mutt so why not)?

-- 
Chris Green

Reply via email to