X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=etc%2Fcomponents;h=64a033752231d66855bb0bd8338263d7ad0554f6;hb=9e27fef315a1e9df848c357cc4c96b1c000bfcd7;hp=2669f040867bca9533db2042a0d33e1271dfdda9;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/etc/components b/etc/components index 2669f04..64a0337 100644 --- a/etc/components +++ b/etc/components @@ -1,4 +1,25 @@ -To: -cc: +%; +%; Our default components file. Used by `comp' +%; +%; +%; This line creates our From: header based on the following ordering: +%; +%; - Use a -from switch if it exists ({from}) +%; - Use our local mailbox identity; first from the Local-Mailbox profile +%; entry, otherwise gets the information from the local system +%; +%<{from}%|%(void(localmbox))%>%(void(width))%(putaddr From: ) +%; +%; Here we include an address list if one or more "-to" arguments were +%; given, otherwise just output a blank header. We do the same for the +%; "cc" header as well. +%; +%<{to}%(void(width))%(putaddr To: )%|To:%> +%<{cc}%(void(width))%(putaddr cc: )%|cc:%> +%; +%; Slight difference here: if we're not given "-fcc" on the command line, +%; make the default mailbox +outbox +%; +Fcc: %<{fcc}%(putstr)%|+outbox%> Subject: --------