On Wed, Aug 05, 2009 at 09:55:38AM -0400, Patrick Shanahan wrote: > * Chris G <c...@isbd.net> [08-05-09 04:10]: > > I am subscribed to a mailing list which accepts messages sent to two > > different (but very similar) addresses. So, for mutt to recognise all > > list messages I have to have two entries for the list. > > > > However this means that when I L[ist reply] I send to both addresses > > which isn't very desirable. > > > > Is there a fix for this? (It's not easy for me to make my 'subscribe' > > and 'lists' entries different as they're generated by a script). > > send-hook fits the bill. It will only match the first address it > finds.
So what do I get send-hook to do? I can see how it can match on one of the send addresses but what does it do when it sees a match. FWIW the outgoing mail has *both* mailing list addresses in one To: header so there is only one actual message composed and sent. Can send-hook modify the To: address to eliminate one of the destinations (but only when two are present)? -- Chris Green