X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=etc%2Freplcomps;h=87532bac56d7fa80ed5d8ecaf5d04f3dc7c5c15e;hp=5b6f4bf3d9f30b9f9a9bfbf68f231983a8525275;hb=b6823062c9806496b39ff12bf1fbe43ae127c96c;hpb=aae44c933a5b035e0b23abf4dd4247cd37e4d041 diff --git a/etc/replcomps b/etc/replcomps index 5b6f4bf..87532ba 100644 --- a/etc/replcomps +++ b/etc/replcomps @@ -1,30 +1,39 @@ -%; replcomps +%; $Header$ %; -%; default form (components) file for `repl' +%; These next lines slurp in lots of addresses for To: and Cc:. +%; Use with repl -query or else you may get flooded with addresses! %; -%; Check for the following headers (in this order) -%; to construct the return address +%; If no To:/Cc:/Fcc: text, we output empty fields for prompter to fill in. %; -%; Mail-Reply-To -%; Reply-To -%; From -%; Sender -%; Return-Path +%(lit)%(formataddr{reply-to})\ +%(formataddr %<{from}%(void{from})%|%(void{apparently-from})%>)\ +%(formataddr{resent-to})\ +%(formataddr{prev-resent-to})\ +%(formataddr{x-to})\ +%(formataddr{apparently-to})\ +%(void(width))%(putaddr To: ) +%(lit)%(formataddr{to})\ +%(formataddr{cc})\ +%(formataddr{x-cc})\ +%(formataddr{resent-cc})\ +%(formataddr{prev-resent-cc})\ +%(formataddr(me))\ +%(void(width))%(putaddr Cc: ) +Fcc: +sent +Subject: %<{subject}Re: %(void{subject})%(trim)%(decode)%> %; -%; AND +%; Make References: and In-reply-to: fields for threading. +%; Use (void), (trim) and (putstr) to eat trailing whitespace. %; -%; cc: To (and) -%; cc (and) -%; personal address -%; -%(lit)%(formataddr %<{mail-reply-to}%?{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%>\ -%<{message-id}References: %<{references} %{references}%> %{message-id}\n%>\ +%<{message-id}In-reply-to: %{message-id}\n%>\ +%<{message-id}References: \ +%<{references}%(void{references})%(trim)%(putstr) %>\ +%(void{message-id})%(trim)%(putstr)\n%>\ +Comments: In-reply-to \ +%<{from}%(void{from})%?(void{apparently-from})%|%(void{sender})%>\ +%(trim)%(decode)\n\ + message dated "%<(nodate{date})%{date}%|%(tws{date})%>." -------- +[%4(year{date})-%02(mon{date})-%02(mday{date}) \ +%02(hour{date}):%02(min{date})] %(decode{from}) +>