X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=man%2Fspost.man8;h=db783ef6572883ed628f07a4bc91ddd3eedf244f;hp=fda53f4a56321910bce7793cb7ff5dec06299d17;hb=eda302e1f049eae6b429a12c5526600eea6a02e1;hpb=9677896bbb11f7b49ca3e1665601407b6c7a459f diff --git a/man/spost.man8 b/man/spost.man8 index fda53f4..db783ef 100644 --- a/man/spost.man8 +++ b/man/spost.man8 @@ -9,9 +9,6 @@ spost \- feed a message to sendmail .na .HP 5 .B spost -.RB [ \-alias -.IR aliasfile -.RB " | " \-noalias ] .RB [ \-verbose " | " \-noverbose ] .I file .RB [ \-Version ] @@ -56,15 +53,9 @@ invokes .B send to send the Bcc message.) .PP -The -.B \-alias -.I aliasfile -switch can be used to specify a file that spost -should take aliases from. More than one file can be specified, each -being preceded with -.BR \-alias . -In any event, the alias file, set with the `Aliasfile' profile entry, is -read first. +The `Aliasfile' profile entry +can be used to specify one or more files that spost +should take aliases from. .PP The .B \-verbose @@ -74,6 +65,11 @@ For example, the `\-v' switch will be added to the 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. @@ -87,9 +83,11 @@ Its value overrides the full name from the GECOS field. If you specify a `From:' line manually in the message draft. It will be used as provided. -However, a `Sender:' header with the user's +A `Sender:' header with the user's .B real -address will be added. +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 @@ -109,10 +107,14 @@ None .fi .SH "PROFILE COMPONENTS" -.B spost -does -.B NOT -consult the user's profile. +.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),