Re: automatically setting "From:" with mh
On Mon, 15 Jan 2001 16:19:14 EST, dochawk@psu.edu writes:
>Robert Rambled,
>
>> I´ve simply set it in the components:
>
>> [waldner:~/Mail] egrep Waldner *comp*
>> components:From: Robert Waldner <Waldner@KPNQwest.at>
<...>
>THanks. THis is *exactly* what I needed.
>
>Could I talk you out of the formats of the other files? Particularly,
>what do I need to do to get "Subject:", "References:", etc. to
>come out properly. I Assume it's an environmental variable or
>escape sequence, but I'm not making any sense out of /etc/mh/mhl.* . . .
Well, I do it all with the components:
~/Mail/replcomps for instance:
%(lit)%(formataddr %<{reply-to}%?{from}%?{sender}%?{return-path}%>)\
%<(nonnull)%(void(width))%(putaddr To: )\n%>\
%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\
%<(nonnull)%(void(width))%(putaddr cc: )\n%>\
%<{fcc}Fcc: %{fcc}\n%>\
%<{subject}Subject: Re: %{subject}\n%>\
%<{date}In-reply-to: Your message of "\
%<(nodate{date})%{date}%|%(pretty{date})%>."%<{message-id}
%{message-id}%>\n%>\
From: Robert Waldner <Waldner@KPNQwest.at>
X-Organization: KPNQwest Austria GmbH
X-Organization: formerly EUnet EDV Dienstleistungs GmbH
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Fcc: +sent
Cc:
See http://www.ics.uci.edu/~mh/book/mh/mhstr.htm for explanations of
the format strings.
cheers,
&rw
--
/ Ing. Robert Waldner | Network Engineer | T: +43 1 89933 F: x533 \
\ <Waldner@KPNQwest.at> | KPNQwest/AT | Diefenbachg. 35, A-1150 /
Reply to: