X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/907d56122e31657df15e9bc79460210deedaefd9..0de0188c61bc3655e61d13e7f70c59f00e5203c8:/etc/components diff --git a/etc/components b/etc/components index 26d54c2e..17cdc6c7 100644 --- a/etc/components +++ b/etc/components @@ -1,6 +1,24 @@ +%; 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: +Subject:%<{subject} %(putstr)%> --------