Paul wrote: > i get bitten by this several times a year -- perhaps there's a > way to configure around it. > > i often reply to my own mailing list posts. when i do so, mh > attempts to reply to me, cc'ing the original recipient (i.e., > the list). but i think because i'm both the sender and the > recipient, the To: header ends up missing entirely. for example, > here's what the draft looks like if i start to reply to an old > message i sent to this list: > > Subject: Re: [Nmh-workers] sync'ing an mh mailstore between two machines? > cc: nmh-workers@nongnu.org > In-reply-to: <12129.1211398...@foxharp.boston.ma.us> > References: <e1jyqcd-0007y8...@mnementh.archaic.org.uk> <200805211914.m4L > JExTY0> > Fcc: outbox > -------- > > needless to say, if i don't notice, and simply send the message, > it causes great confusion. > > the command i use to reply to a list looks like this, after > expanding my wrapper scripts: > > repl -cc to -cc cc -form form.repl.usual <msgnumber> > > the contents of form.repl.usual look like this: > > %(lit)%(formataddr %<{reply-to}%|%<{from}%|%{sender}%>%>)\ > %<(nonnull)%(void(width))%(putaddr To: )\n%>\ > %<{subject}Subject: Re: %{subject}\n%>\ > %(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\ > %<(nonnull)%(void(width))%(putaddr cc: )\n%>\ > %; > %; Make References: and In-reply-to: fields for threading. > %; Use (void), (trim) and (putstr) to eat trailing whitespace. > %; > %<{message-id}In-reply-to: %{message-id}\n%>\ > %<{message-id}References: \ > %<{references}%(void{references})%(trim)%(putstr) %>\ > %(void{message-id})%(trim)%(putstr)\n%>\ > Reply-to: p...@foxharp.boston.ma.us > Fcc: outbox > -------- > > > > i've just done a scan of the repl and mh-format man pages to see > what might cause, or fix, this, but i'm missing it if it's there. > > any ideas?
I add -cc me when replying to my own messages and suppress the second copy (see below) by using -query. Inconvenient and of course doesn't solve the problem. But maybe it gives a clue on how to fix it: -cc me (or -cc all) restores the To: header. But that seems like an unintended side effect: I don't see why -cc should affect To:. And they also add my login name, even if my reply address is in my Alternate-Mailboxes. I don't need two copies of the message. I took a quick look at the code in uip/replsbr.c and quick fixes didn't jump out at me. Maybe it would be best to maintain the current behavior and add another -cc option, but I have yet to figure out how the current code works. David _______________________________________________ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers