X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1d138200263d792ebda1b817345fff3fed6c29b9..2e857ecade62ec99c49386cf4f670c18f4be232b:/man/post.man diff --git a/man/post.man b/man/post.man index 5dfa9af9..4d64300c 100644 --- a/man/post.man +++ b/man/post.man @@ -1,7 +1,7 @@ +.TH POST %manext8% "April 14, 2013" "%nmhversion%" .\" .\" %nmhwarning% .\" -.TH POST %manext8% "%nmhdate%" MH.6.8 [%nmhversion%] .SH NAME post \- deliver a message .SH SYNOPSIS @@ -16,10 +16,14 @@ post \- deliver a message .RB [ \-format " | " \-noformat ] .RB [ \-mime " | " \-nomime ] .RB [ \-msgid " | " \-nomsgid ] +.RB [ \-messageid +.IR localname " | " random ] .RB [ \-verbose " | " \-noverbose ] .RB [ \-watch " | " \-nowatch ] .RB [ \-width .IR columns ] +.RB [ \-mts +.IR smtp " | " sendmail/smtp " | " sendmail/pipe ] .RB [ \-server .IR servername ] .RB [ \-port @@ -33,6 +37,7 @@ post \- deliver a message .RB [ \-user .IR username ] .RB [ \-tls ] +.RB [ \-initialtls ] .RB [ \-notls ] .I file .RB [ \-version ] @@ -110,6 +115,23 @@ switch indicates that a \*(lqMessage\-ID:\*(rq or \*(lqResent\-Message\-ID:\*(rq field should be added to the header. .PP The +.B \-messageid +switch selects the style used for the part appearing after the @ +in \*(lqMessage\-ID:\*(rq, \*(lqResent\-Message\-ID:\*(rq, and +\*(lqContent\-ID:\*(rq header fields. The two acceptable options are +.B localname +(which is the default), +and +.BR random . +With +.BR localname , +the local hostname is used. With +.BR random , +a random sequence of characters is used instead. Note that the +.B \-msgid +switch must be enabled for this switch to have any effect. +.PP +The .B \-verbose switch indicates that the user should be informed of each step of the posting/filing process. @@ -123,7 +145,7 @@ delivery). 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 , @@ -156,6 +178,12 @@ have a blank value; if the value is blank, then the mail transport system 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 +.I %etcdir%/mts.conf +but can be overriiden here with the +.B \-mts +switch. +.PP If nmh is using the SMTP MTA, the .B \-server and the @@ -176,14 +204,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 -.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, -and the the +and the .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 @@ -202,14 +233,22 @@ If 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. - +The +.B \-notls +switch will disable all attempts to negotiate TLS. .SH FILES .fc ^ ~ .nf @@ -219,36 +258,38 @@ switch. ^%bindir%/refile~^Program to process Fcc:s ^%libdir%/mhl~^Program to process Bcc:s .fi - .SH "PROFILE COMPONENTS" .B post does .B NOT 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" -(RFC\-822) - +(RFC 822) .SH DEFAULTS .nf .RB ` \-alias "' defaults to %etcdir%/MailAliases" .RB ` \-format ' .RB ` \-nomime ' .RB ` \-nomsgid ' +.RB ` "\-messageid\ localname" ' .RB ` \-noverbose ' .RB ` \-nowatch ' .RB ` "\-width\ 72" ' .RB ` \-nofilter ' .fi - .SH CONTEXT 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.