]> diplodocus.org Git - nmh/blob - etc/components
vector.c: Move interface to own file.
[nmh] / etc / components
1 %; Our default components file. Used by `comp'
2 %;
3 %;
4 %; This line creates our From: header based on the following ordering:
5 %;
6 %; - Use a -from switch if it exists ({from})
7 %; - Use our local mailbox identity; first from the Local-Mailbox profile
8 %; entry, otherwise gets the information from the local system
9 %;
10 %<{from}%|%(void(localmbox))%>%(void(width))%(putaddr From: )
11 %;
12 %; Here we include an address list if one or more "-to" arguments were
13 %; given, otherwise just output a blank header. We do the same for the
14 %; "cc" header as well.
15 %;
16 %<{to}%(void(width))%(putaddr To: )%|To:%>
17 %<{cc}%(void(width))%(putaddr cc: )%|cc:%>
18 %;
19 %; Slight difference here: if we're not given "-fcc" on the command line,
20 %; make the default mailbox +outbox
21 %;
22 Fcc: %<{fcc}%(putstr)%|+outbox%>
23 Subject:%<{subject} %(putstr)%>
24 --------