]> diplodocus.org Git - nmh/blob - etc/replcomps
mhlsbr.c: Don't strchr(3) non-string NUL-less buffer.
[nmh] / etc / replcomps
1 %;
2 %; replcomps - our default component file for "repl"
3 %;
4 %;
5 %; First, output a "From" header.
6 %(void(localmbox))%(void(width))%(putaddr From: )
7 %;
8 %; These next lines slurp in lots of addresses for To: and cc:.
9 %; Use with repl -query or else you may get flooded with addresses!
10 %; Currently %(decode) should NOT be used on address fields, in case invalid
11 %; characters are in an address.
12 %;
13 %; If no To:/cc:/Fcc: text, we output empty fields for prompter to fill in.
14 %;
15 %(lit)%(formataddr{reply-to})\
16 %(formataddr %<{from}%(void{from})%|%(void{apparently-from})%>)\
17 %(formataddr{resent-to})\
18 %(formataddr{prev-resent-to})\
19 %(formataddr{x-to})\
20 %(formataddr{apparently-to})\
21 %(void(width))%(putaddr To: )
22 %(lit)%(formataddr{to})\
23 %(formataddr{cc})\
24 %(formataddr{x-cc})\
25 %(formataddr{resent-cc})\
26 %(formataddr{prev-resent-cc})\
27 %(formataddr(localmbox))\
28 %(void(width))%(putaddr cc: )
29 Fcc: %<{fcc}%{fcc}%|+outbox%>
30 Subject: %<{subject}Re: %(void{subject})%(trim)%(putstr)%>
31 %;
32 %; Make References: and In-reply-to: fields for threading.
33 %; Use (void), (trim) and (putstr) to eat trailing whitespace.
34 %;
35 %<{message-id}In-reply-to: %{message-id}\n%>\
36 %<{message-id}References: \
37 %<{references}%(void{references})%(trim)%(putstr) %>\
38 %(void{message-id})%(trim)%(putstr)\n%>\
39 Comments: In-reply-to \
40 %<{from}%(void{from})%?(void{apparently-from})%|%(void{sender})%>\
41 %(trim)%(putstr)\n\
42 message dated "%<(nodate{date})%{date}%|%(tws{date})%>."
43 --------