X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=etc%2Fcomponents;h=d4d4f7c633ebea36767e81d9b71eb40e514a8bc7;hb=0d33f1e27c4edb7290ef51cd03d50c0dbc9059ef;hp=26d54c2ea04261a00542da993ff6d590861f8307;hpb=907d56122e31657df15e9bc79460210deedaefd9;p=mmh diff --git a/etc/components b/etc/components index 26d54c2..d4d4f7c 100644 --- a/etc/components +++ b/etc/components @@ -1,6 +1,25 @@ +%; +%; 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)%> --------