.\" .\" %nmhwarning% .\" .TH SPOST %manext8% "%nmhdate%" MH.6.8 [%nmhversion%] .SH NAME spost \- feed a message to sendmail .SH SYNOPSIS .HP 5 .na .HP 5 .B spost .RB [ \-verbose " | " \-noverbose ] .I file .RB [ \-Version ] .RB [ \-help ] .ad .SH DESCRIPTION .B Spost is the program called by .B send to feed the message in .I file to .B sendmail for delivery. In fact, many of the features attributed to .B send in its manual page are performed by .BR spost , with .B send acting as a preprocessor. Thus, it is .B spost which parses the various header fields, appends `From:' and `Date:' lines, and finally feeds the message to the MTA. .B Spost will not normally be called directly by the user. .PP .B Spost searches the `To:', `Cc:', `Bcc:', `Dcc', `Fcc:', and `Resent\-xxx:' header lines of the specified message for destination addresses, .PP .B Sendmail is called witch all recipients, expect these from Bcc-field .br .B sendmail .B \-i .RB [ \-v ] .I recipients ... .PP If a `Bcc:' field is encountered, its addresses will be used for delivery, and the `Bcc:' field will be removed from the message sent to sighted recipients. The blind recipients will receive a newly constructed message with a copy of the original message attached. MIME rules are used for encapsulation. .RB ( spost invokes .B send to send the Bcc message.) .PP If a `Dcc' field is encountered, the field will be removed befor sending the mail. .PP The `Aliasfile' profile entry can be used to specify one or more files that spost should take aliases from. .PP Aliasing is done on any address-field will. The address-fields are `From:', `To:', `Bcc:', `Dcc' or rather the `Resent\-xxx:' versions of this fields. .PP The .B \-verbose switch enables informational messages. For example, the `\-v' switch will be added to the .B sendmail invocation. .PP .B Spost puts the .RI ` Default-From ' profile entry in the `From:' line of the message. If `Default-From' is not set, .B spost constructs the `From:' line of the message from the user's login name and the full name from the GECOS field of the passwd file. An example is `From: Dan Harkless '. .PP If you set the .B $SIGNATURE environment variable. Its value overrides the full name from the GECOS field. .PP If you specify a `From:' line manually in the message draft. It will be used as provided. A `Sender:' header with the user's .B real address will be added, if the `From' line don't contain a address from the user .RI ` Alternate-Mailboxes '. .PP Note that this applies equally to `Resent\-From:' lines in messages sent with .BR dist . .PP .B Spost takes care about full qualitfy addresses, in every address-field. Your MTA is supposed to care to add the correct domain, if there is no after aliasing. .PP The draft is filed to the folders in the Fcc headers by .BR refile . .SH FILES .fc ^ ~ .nf .ta \w'ExtraBigFileName 'u None .fi .SH "PROFILE COMPONENTS" .fc ^ ~ .nf .ta 3.5i .ta \w'ExtraBigProfileName 'u ^Aliasfile:~^For default alias files ^Default\-From:~^The default From header ^Alternate\-Mailboxes:~^The user's addresses .fi .SH "SEE ALSO" send(1), mh\-mail(5), mh\-alias(5), mh\-tailor(5), refile(1), .I "Standard for the Format of ARPA Internet Text Messages" (RFC\-822) .SH DEFAULTS .nf .RB ` \-noverbose ' .fi .SH CONTEXT None .SH BUGS None