Add "Default-From" config option
[mmh] / man / spost.man8
index c66ba10..db783ef 100644 (file)
@@ -65,6 +65,11 @@ For example, the `\-v' switch will be added to the
 invocation.
 .PP
 .B Spost
 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.
 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.
@@ -78,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.
 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
 .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
 .PP
 Note that this applies equally to `Resent\-From:' lines
 in messages sent with
@@ -102,8 +109,11 @@ None
 .SH "PROFILE COMPONENTS"
 .fc ^ ~
 .nf
 .SH "PROFILE COMPONENTS"
 .fc ^ ~
 .nf
-.ta \w'ExtraBigFileName  'u
+.ta 3.5i
+.ta \w'ExtraBigProfileName  'u
 ^Aliasfile:~^For default alias files
 ^Aliasfile:~^For default alias files
+^Default\-From:~^The default From header
+^Alternate\-Mailboxes:~^The user's addresses
 .fi
 
 .SH "SEE ALSO"
 .fi
 
 .SH "SEE ALSO"