Removed -(no)push and -(no)forward flags from send, spost and whatnow.
[mmh] / man / spost.man8
1 .\"
2 .\" %nmhwarning%
3 .\"
4 .TH SPOST %manext8% "%nmhdate%" MH.6.8 [%nmhversion%]
5 .SH NAME
6 spost \- feed a message to sendmail
7 .SH SYNOPSIS
8 .HP 5
9 .na
10 .HP 5
11 .B spost
12 .RB [ \-alias
13 .IR aliasfile
14 .RB " | " \-noalias ]
15 .RB [ \-dist ]
16 .RB [ \-verbose " | " \-noverbose ]
17 .RB [ \-watch " | " \-nowatch ]
18 .I file
19 .RB [ \-version ]
20 .RB [ \-help ]
21 .ad
22 .SH DESCRIPTION
23 .B Spost
24 is the program called by
25 .B send
26 to feed the message in
27 .I file
28 to
29 .B sendmail
30 for delivery.  In fact, many of
31 the features attributed to
32 .B send
33 in its manual page are performed by
34 .BR spost ,
35 with
36 .B send
37 acting as a preprocessor.
38 Thus, it is
39 .B spost
40 which parses the various header fields, appends
41 \*(lqFrom:\*(rq and \*(lqDate:\*(rq lines,
42 and finally feeds the message to the MTA.
43 .B Spost
44 will not normally be called directly by the user.
45 .PP
46 .B Spost
47 searches the \*(lqTo:\*(rq, \*(lqCc:\*(rq, \*(lqBcc:\*(rq,
48 \*(lqFcc:\*(rq, and \*(lqResent\-xxx:\*(rq header lines of the specified
49 message for destination addresses,
50 .PP
51 If a \*(lqBcc:\*(rq field is encountered, its addresses will be used for
52 delivery, and the \*(lqBcc:\*(rq field will be removed from the message
53 sent to sighted recipients.  The blind recipients will receive a newly
54 constructed message with a copy of the original message attached.
55 MIME rules are used for encapsulation.
56 .RB ( spost
57 invokes
58 .B send
59 to send the Bcc message.)
60 .PP
61 The
62 .B \-alias
63 .I aliasfile
64 switch can be used to specify a file that spost
65 should take aliases from.  More than one file can be specified, each
66 being preceded with
67 .BR \-alias .
68 In any event, the alias file, set with the `Aliasfile' profile entry, is
69 read first.
70 .PP
71 The
72 .B \-verbose
73 enables the output of informational messages.
74 This option sets \-watch, too.
75 .PP
76 The
77 .B \-watch
78 switch adds the `\-v' switch to the
79 .B sendmail
80 invocation.
81 .PP
82 .B Spost
83 constructs the \*(lqFrom:\*(rq line of the
84 message from the user's login name and the full name from the GECOS field
85 of the passwd file.
86 An example is \*(lqFrom: Dan Harkless <dan>\*(rq.
87 .PP
88 If you set the
89 .B $SIGNATURE
90 environment variable.
91 Its value overrides the full name from the GECOS field.
92 .PP
93 If you specify a \*(lqFrom:\*(rq
94 line manually in the message draft.
95 It will be used as provided.
96 However, a \*(lqSender:\*(rq header with the user's
97 .B real
98 address will be added.
99 .PP
100 Note that this applies equally to \*(lqResent\-From:\*(rq lines
101 in messages sent with
102 .BR dist .
103 .PP
104 Your MTA is supposed to care to fully qualitfy the addresses
105 with the correct domain name.
106 .PP
107 The draft is filed to the folders in the Fcc headers by
108 .BR refile .
109
110 .SH FILES
111 .fc ^ ~
112 .nf
113 .ta \w'ExtraBigFileName  'u
114 None
115 .fi
116
117 .SH "PROFILE COMPONENTS"
118 .B spost
119 does
120 .B NOT
121 consult the user's profile.
122
123 .SH "SEE ALSO"
124 send(1), mh\-mail(5), mh\-alias(5), mh\-tailor(5), refile(1),
125 .I "Standard for the Format of ARPA Internet Text Messages"
126 (RFC\-822)
127
128 .SH DEFAULTS
129 .nf
130 .RB ` \-noverbose '
131 .RB ` \-nowatch '
132 .fi
133
134 .SH CONTEXT
135 None
136
137 .SH BUGS
138 Spost does not qualify addresses.
139 .PP
140 Spost does only basic processing and checking, yet.