On Fri, Aug 15, 2014 at 08:40:48PM +0200, Suvayu Ali wrote: > On Fri, Aug 15, 2014 at 12:11:27PM -0400, Jon LaBadie wrote: > > A mailing list I subscribe to is changing their host. > > For a while messages will be received from both servers. > > > > I would like that any replies I make automatically go > > to the new server even if I'm replying to one from the > > old server. > > > > I tried a send-hook. I already have others for setting > > my sender's name and signature. > > > > send-hook '[email protected]' 'my_hdr To: [email protected]' > > Did you try a reply-hook? I think that would be most appropriate here. > Something like the following should work: > > reply-hook "~C [email protected]" my_hdr To: [email protected] > > Hope this helps, >
Good thought, I had forgotten there was a 'reply-hook'. I tried it and got the same results as with my 'send-hook' versions. Variations I tried included with and without ~C and ~t, and dropping the server part of the match, i.e. send-hook "~C foolist" 'my_hdr To: [email protected]' One oddity. After editing my .muttrc file, the first time I reply to the list with an "L" the "To:" line is unchanged. If I quit the editor, abort the reply, and do a second "L", then the "To:" line is modified by addition of the newserver address. I.e. it becomes To: [email protected], [email protected] It almost seems like some other setting is interacting with my reply-hook (or send-hook line is modified by addition of the newserver address. I.e. it becomes To: [email protected], [email protected] It almost seems like some other setting is interacting with my reply-hook or send-hook. Jon -- Jon H. LaBadie [email protected] 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (609) 477-8330 (C)
