Hi Chris! On Do, 29 Nov 2012, Chris Green wrote:
> On Thu, Nov 29, 2012 at 11:23:56AM -0500, Patrick Shanahan wrote: > > * Chris Green <[email protected]> [11-29-12 11:08]: > > > I have been trying to work out for a while why I sometimes send two > > > copies of some messages to mailing lists. I finally worked out why, the > > > L[ist reply] command will send to any address which is like:- > > > > > > List-Post: <mailto:[email protected]> > > > > > > *as well as* any message that matches the name found in the subscribe > > > and/or lists commands in muttrc. > > > > > > Is there any way to disable the use of the List-Post: entry, or any way > > > to prevent mutt from sending to two addresses? > > > > > > On this list there's always a List-Post: header and, sometimes there is > > > also a To: [email protected] which also works for the same list. > > > > I have not found this a problem. I haven't noticed *myself* sending dups > > to the/any list using the "list reply" function "L". You undoubtedly have > > something in ~/.muttrc. W/o seeing your .muttrc, I can only suggest > > saving your present .muttrc to another name and making a new minimal > > .muttrc to use for testing. Set a fictitious mailing list in .muttrc with > > an address you control and use it for testing. Add sections of your > > original .muttrc between tests until you notice dups occuring. > > > > If you have recorded or can identify the list[s] where the dups occur, > > look in your .muttrc for similarities to those list posting addrs. > > Playing with them could minimize the effort necessary. > > > It's not my .muttrc, it's just one list that I subscribe to which has > two addresses. Only one address ever appears in List-Post: but the > alternative address sometimes appears in To: or Cc: headers, thus there > can be messages with the following:- > > List-Post: <mailto:[email protected]> > Cc: [email protected] > > Since I have [email protected] in 'subscribes' and 'lists' mutt will > reply to *both* [email protected] and [email protected] > when I hit L[ist reply]. Can't you do something like lists ixion@([^.]*\.)?ixion.org.uk ? This should make mutt treat both addresses as the same list and make it only list-reply to one of it (My guess would be the List-Post adress). regards, Christian -- And if sometime, somewhere, someone asketh thee, "Who kilt thee?", tell them it 'twas the Doones of Bagworthy!
