Norm writes:

> Thank you, but that doesn't have a "From:" header.

Oh, right, for messages that don't contain one of your addresses
in one of To:, Cc:, or From:.  I do that in order to reply from
the message that was used to send to me, and use an editor macro
to fill in From: if there was no such address.

The attached replcomps unconditionally inserts a From: header.

David

%(lit)%(formataddr %<{reply-to}%?{from}%?{sender}%?{return-path}%>)\
%<(nonnull)%(void(width))%(putaddr To: )\n%>\
%(lit)%(formataddr{to})%(formataddr{cc})\
%<(nonnull)%(void(width))%(putaddr cc: )\n%>\
  ,%(localmbox)
%<{fcc}Fcc: %{fcc}\n%>\
%<{subject}Subject: Re: %{subject}\n%>\
%<{date}In-reply-to: %<(mymbox{from})my%|Your%> message of "\
%<(nodate{date})%{date}%|%(pretty{date})%>."\n%>\
%<{message-id}References: \
%<{references}%(void{references})%(trim)%(putstr)\n  %>\
%(void{message-id})%(trim)%(putstr)\n%>\
Reply-To: %(localmbox)
From: %(localmbox)
--------
_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to