X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c948e3f891a14ca70ed9f82ac05481e2a8614bb5..b0b7ee58c482bf36063e6158f610dd337f3ca568:/etc/components?ds=inline diff --git a/etc/components b/etc/components index 7f255ea5..64a03375 100644 --- a/etc/components +++ b/etc/components @@ -1,5 +1,25 @@ -To: -cc: -Fcc: +outbox +%; +%; 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: --------