4 .TH SPOST %manext8% "%nmhdate%" MH.6.8 [%nmhversion%]
6 spost \- feed a message to sendmail
12 .RB [ \-verbose " | " \-noverbose ]
19 is the program called by
21 to feed the message in
25 for delivery. In fact, many of
26 the features attributed to
28 in its manual page are performed by
32 acting as a preprocessor.
35 which parses the various header fields, appends
36 `From:' and `Date:' lines,
37 and finally feeds the message to the MTA.
39 will not normally be called directly by the user.
42 searches the `To:', `Cc:', `Bcc:', `Dcc',
43 `Fcc:', and `Resent\-xxx:' header lines of the specified
44 message for destination addresses,
49 with all recipients, except the blind ones (`Bcc:'),
50 as command line arguments:
58 If a `Bcc:' field is encountered, its addresses will be used for
59 delivery, and the `Bcc:' field will be removed from the message
60 sent to sighted recipients. The blind recipients will receive a newly
61 constructed message with a copy of the original message attached.
62 MIME rules are used for encapsulation.
66 to send the Bcc message.)
68 If a `Dcc' field is encountered, the field will be removed
69 before sending the message. The Dcc recipient will receive the
70 message as well, but without being mentioned in the recipient
73 In contrast to Bcc, the Dcc recipient receives the
74 same original message as all the sighted reciepients, whereas
75 the Bcc recipient receives a special, newly constructed message,
76 which contains the original message as an attachment.
78 Bcc is probably a good choice for a message with both sighted
79 and invisible reciepients (e.g. inform someone privately about
80 the message being sent). Dcc is probably a good choice for
81 a message to a group of only invisible recipients (e.g. invite
84 The `Aliasfile' profile entry
85 can be used to specify one or more files that spost
86 should take aliases from.
88 Aliasing is done on any address field. Those are:
89 `From:', `To:', `Cc:', `Bcc:' and `Dcc',
90 or the `Resent\-xxx:' versions of these fields.
94 switch enables informational messages.
95 For example, the `\-v' switch will be added to the
102 profile entry in the `From:' line of the message.
103 If `Default-From' is not set,
105 constructs the `From:' line of the
106 message from the user's login name and the full name from the GECOS field
108 An example is `From: Dan Harkless <dan>'.
112 environment variable.
113 Its value overrides the full name from the GECOS field.
115 If you specify a `From:'
116 line manually in the message draft.
117 It will be used as provided.
118 A `Sender:' header with the user's
120 address will be added, if the `From' line don't contain a address
122 .RI ` Alternate-Mailboxes '.
124 Note that this applies equally to `Resent\-From:' lines
125 in messages sent with
129 tries to fully qualify the addresses in every address field.
130 Your MTA is supposed to add the correct domain,
131 if there is none after aliasing.
133 The draft is filed to the folders in the Fcc headers by
139 .ta \w'ExtraBigFileName 'u
143 .SH "PROFILE COMPONENTS"
147 .ta \w'ExtraBigProfileName 'u
148 ^Aliasfile:~^For default alias files
149 ^Default\-From:~^The default From header
150 ^Alternate\-Mailboxes:~^The user's addresses
154 send(1), mh\-mail(5), mh\-alias(5), mh\-tailor(5), refile(1),
155 .I "Standard for the Format of ARPA Internet Text Messages"
177 extract the recipients from the message headers. Now, it
178 passes the recipients as command line arguments. This provides
179 better compatibility to other sendmail implementations.