]> diplodocus.org Git - nmh/blobdiff - man/post.man
Fix to commit 84932d0a96c79bfb2f0384ebab806dc51a35f600 to
[nmh] / man / post.man
index 235f1661c7ebdddb4ad1aae8aee479d830d8f851..fe13538178a4707f9f293fd1ab03a8c9d60e4ff9 100644 (file)
@@ -1,4 +1,4 @@
-.TH POST %manext8% "%nmhdate%" MH.6.8 [%nmhversion%]
+.TH POST %manext8% "July 8, 2014" "%nmhversion%"
 .\"
 .\" %nmhwarning%
 .\"
 .\"
 .\" %nmhwarning%
 .\"
@@ -7,7 +7,7 @@ post \- deliver a message
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/post 
+.B %nmhlibexecdir%/post 
 .RB [ \-alias
 .IR aliasfile ]
 .RB [ \-filter
 .RB [ \-alias
 .IR aliasfile ]
 .RB [ \-filter
@@ -24,6 +24,8 @@ post \- deliver a message
 .IR columns ]
 .RB [ \-mts
 .IR smtp " | " sendmail/smtp " | " sendmail/pipe ]
 .IR columns ]
 .RB [ \-mts
 .IR smtp " | " sendmail/smtp " | " sendmail/pipe ]
+.RB [ \-sendmail
+.IR program ]
 .RB [ \-server
 .IR servername ]
 .RB [ \-port
 .RB [ \-server
 .IR servername ]
 .RB [ \-port
@@ -37,6 +39,7 @@ post \- deliver a message
 .RB [ \-user
 .IR username ]
 .RB [ \-tls ]
 .RB [ \-user
 .IR username ]
 .RB [ \-tls ]
+.RB [ \-initialtls ]
 .RB [ \-notls ]
 .I file
 .RB [ \-version ]
 .RB [ \-notls ]
 .I file
 .RB [ \-version ]
@@ -144,7 +147,7 @@ delivery).
 Under normal circumstances,
 .B post
 uses the \*(lqFrom:\*(rq line in the message draft as the identity of
 Under normal circumstances,
 .B post
 uses the \*(lqFrom:\*(rq line in the message draft as the identity of
-the the originating mailbox.  A \*(lqFrom:\*(rq line is required in
+the originating mailbox.  A \*(lqFrom:\*(rq line is required in
 all message draft.  By default the message composition utilities such
 as
 .BR comp ,
 all message draft.  By default the message composition utilities such
 as
 .BR comp ,
@@ -178,11 +181,19 @@ will be instructed to not send any bounces in response to the message.
 Not all mail transport systems support this feature.
 .PP
 The mail transport system default is provided in
 Not all mail transport systems support this feature.
 .PP
 The mail transport system default is provided in
-.I %etcdir%/mts.conf
+.I %nmhetcdir%/mts.conf
 but can be overriiden here with the
 .B \-mts
 switch.
 .PP
 but can be overriiden here with the
 .B \-mts
 switch.
 .PP
+If nmh is using as its mail transport system
+.BR sendmail/pipe ,
+the
+.B \-sendmail
+switch can be used to override the default
+.B sendmail
+program.
+.PP
 If nmh is using the SMTP MTA, the
 .B \-server
 and the
 If nmh is using the SMTP MTA, the
 .B \-server
 and the
@@ -190,7 +201,7 @@ and the
 switches can be used to override the default mail server (defined by the
 .RI servers
 entry in
 switches can be used to override the default mail server (defined by the
 .RI servers
 entry in
-.I %etcdir%/mts.conf
+.I %nmhetcdir%/mts.conf
 ).
 .PP
 If
 ).
 .PP
 If
@@ -203,14 +214,17 @@ switches will enable and disable
 the use of SASL authentication with the SMTP MTA.  Depending on the
 SASL mechanism used, this may require an additional password prompt from the
 user (but the
 the use of SASL authentication with the SMTP MTA.  Depending on the
 SASL mechanism used, this may require an additional password prompt from the
 user (but the
-.RI \*(lq \&.netrc \*(rq
-file can be used to store this password).
+.I netrc
+file can be used to store this password, as described in the
+mh-profile(5) man page).  The
 .B \-saslmech
 switch can be used to select a particular SASL mechanism,
 .B \-saslmech
 switch can be used to select a particular SASL mechanism,
-and the the
+and the
 .B \-user
 .B \-user
-switch can be used to select a authorization userid
-to provide to SASL other than the default.
+switch can be used to select a authorization userid to provide to SASL
+other than the default.  The credentials profile entry in the
+mh\-profile(5) man page describes the ways to supply a username and
+password.
 .PP
 If SASL authentication is successful, 
 .BR nmh
 .PP
 If SASL authentication is successful, 
 .BR nmh
@@ -229,21 +243,36 @@ If
 has been compiled with TLS support, the
 .B \-tls
 and
 has been compiled with TLS support, the
 .B \-tls
 and
-.B \-notls
-switches will require and disable the negotiation of TLS support when
-connecting to the
-SMTP MTA.  Encrypted data is labelled with `(tls-encrypted)' and
+.B \-initialtls
+switches will require the negotiation of TLS when
+connecting to the SMTP MTA.  The
+.B \-tls
+switch will negotiate TLS as part of the normal SMTP protocol
+using the STARTTLS command.  The
+.B \-initialtls
+will negotiate TLS immediately after the connection has
+taken place, before any SMTP commands are sent or received.  Encrypted data
+is labelled with `(tls-encrypted)' and
 `(tls-decrypted)' when viewing the SMTP transction with the
 .B \-snoop
 switch.
 `(tls-decrypted)' when viewing the SMTP transction with the
 .B \-snoop
 switch.
+The
+.B \-notls
+switch will disable all attempts to negotiate TLS.
+.PP
+If port 465 is specified and none of the TLS switches were enabled,
+.B \-initialtls
+will be implied if TLS support was compiled in.  Though port 465 for
+SMTPS (SMTP over SSL) was deregistered by IANA in 1998, it is still
+used for that service.
 .SH FILES
 .fc ^ ~
 .nf
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/mts.conf~^nmh mts configuration file
-^%etcdir%/MailAliases~^global nmh alias file
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/mts.conf~^nmh mts configuration file
+^%nmhetcdir%/MailAliases~^global nmh alias file
 ^%bindir%/refile~^Program to process Fcc:s
 ^%bindir%/refile~^Program to process Fcc:s
-^%libdir%/mhl~^Program to process Bcc:s
+^%nmhlibexecdir%/mhl~^Program to process Bcc:s
 .fi
 .SH "PROFILE COMPONENTS"
 .B post
 .fi
 .SH "PROFILE COMPONENTS"
 .B post
@@ -252,12 +281,18 @@ does
 consult the user's
 .I \&.mh\(ruprofile
 .SH "SEE ALSO"
 consult the user's
 .I \&.mh\(ruprofile
 .SH "SEE ALSO"
-mhmail(1), send(1), mh\-mail(5), mh\-alias(5), mh\-tailor(5),
+.IR mhmail (1),
+.IR send (1),
+.IR mh\-mail (5),
+.IR mh\-alias (5),
+.IR mh\-profile (5),
+.IR mh\-tailor (5)
+.PP
 .I "Standard for the Format of ARPA Internet Text Messages"
 .I "Standard for the Format of ARPA Internet Text Messages"
-(RFC\-822)
+(RFC 822)
 .SH DEFAULTS
 .nf
 .SH DEFAULTS
 .nf
-.RB ` \-alias "' defaults to %etcdir%/MailAliases"
+.RB ` \-alias "' defaults to %nmhetcdir%/MailAliases"
 .RB ` \-format '
 .RB ` \-nomime '
 .RB ` \-nomsgid '
 .RB ` \-format '
 .RB ` \-nomime '
 .RB ` \-nomsgid '
@@ -271,6 +306,6 @@ mhmail(1), send(1), mh\-mail(5), mh\-alias(5), mh\-tailor(5),
 None
 .SH BUGS
 \*(lqReply\-To:\*(rq fields are allowed to have groups in them according
 None
 .SH BUGS
 \*(lqReply\-To:\*(rq fields are allowed to have groups in them according
-to the 822 specification, but
+to the RFC 822 specification, but
 .B post
 won't let you use them.
 .B post
 won't let you use them.