made RFC 2822 compliant, using an "In-reply-to:" format
[mmh] / etc / replcomps
1 %; $Id$
2 %;
3 %; replcomps: default form (components) file for `repl'
4 %;
5 %; Check for the following headers (in this order)
6 %; to construct the return address
7 %;
8 %; Mail-Reply-To
9 %; Reply-To
10 %; From
11 %; Sender
12 %; Return-Path
13 %;
14 %; AND
15 %;
16 %; cc: To              (and)
17 %;     cc              (and)
18 %;     personal address
19 %;
20 %(lit)%(formataddr %<{mail-reply-to}%?{reply-to}%?{from}%?{sender}%?{return-path}%>)\
21 %<(nonnull)%(void(width))%(putaddr To: )\n%>\
22 %(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\
23 %<(nonnull)%(void(width))%(putaddr cc: )\n%>\
24 %<{fcc}Fcc: %{fcc}\n%>\
25 %<{subject}Subject: Re: %{subject}\n%>\
26 %;
27 %; Make References: and In-reply-to: fields for threading.
28 %; Use (void), (trim) and (putstr) to eat trailing whitespace.
29 %;
30 %<{message-id}In-reply-to: %{message-id}\n%>\
31 %<{message-id}References: \
32 %<{references}%(void{references})%(trim)%(putstr) %>\
33 %(void{message-id})%(trim)%(putstr)\n%>\
34 Comments: In-reply-to \
35 %<{from}%(void{from})%?(void{apparently-from})%|%(void{sender})%>\
36 %(trim)%(putstr)\n\
37    message dated "%<(nodate{date})%{date}%|%(tws{date})%>."
38 --------