X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/64e8827c5d5def0325ab7181fe939623c77e807c..b7f1c786ed9b2ad799e5cc85ede0aa213bece0bd:/man/send.man diff --git a/man/send.man b/man/send.man index c83a74fe..29e6e243 100644 --- a/man/send.man +++ b/man/send.man @@ -1,7 +1,7 @@ .\" .\" %nmhwarning% .\" -.TH SEND %manext1% "January 23, 2014" "%nmhversion%" +.TH SEND %manext1% "November 25, 2014" "%nmhversion%" .SH NAME send \- send a message .SH SYNOPSIS @@ -25,6 +25,8 @@ send \- send a message .RB [ \-msgid " | " \-nomsgid ] .RB [ \-messageid .IR localname " | " random ] +.RB [ \-oauth +.IR service ] .RB [ \-push " | " \-nopush ] .RB [ \-split .IR seconds ] @@ -156,6 +158,10 @@ Content-Description: VERSION Content-Disposition: attachment; filename="VERSION" .fi .PP +See +.IR mhbuild (1) +for explanation of how the Content-Disposition value is selected. +.PP If .B \-push is specified, @@ -358,7 +364,7 @@ switch, the user can direct as to how long it should make header lines containing addresses. .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. @@ -368,13 +374,15 @@ If nmh is using the SMTP MTA, the and the .B \-port switches can be used to override the default mail server (defined by the -.I %etcdir%/mts.conf +.I %nmhetcdir%/mts.conf .RI servers entry). The .B \-snoop switch can be used to view the SMTP transaction. (Beware that the SMTP transaction may contain authentication information either in -plaintext or easily decoded base64.) +plaintext or easily decoded base64.) If +.B \-oauth +is used, the HTTP transaction is also shown. .PP If .B nmh @@ -395,7 +403,7 @@ and the .B \-user 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 +mh\-profile(5) man page describes the ways to supply a username and password. .PP If SASL authentication is successful, @@ -412,6 +420,24 @@ underlying SASL mechanism. A value of 0 disables encryption. .PP If .B nmh +has been compiled with OAuth support, the +.B \-oauth +switch will enable OAuth authentication. The +.B \-user +switch must be used, and the +.I user-name +must be an email address the user has for that service. Before using this, +the user must authorize nmh by running +.B mhlogin +and grant authorization to that account. Only +.B -oauth +.I gmail +is supported. See the +.B mhlogin +man page for more details. +.PP +If +.B nmh has been compiled with TLS support, the .B \-tls and @@ -432,6 +458,12 @@ 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. +.PP The files specified by the profile entry \*(lqAliasfile:\*(rq and any additional alias files given by the .B \-alias @@ -446,7 +478,7 @@ for more information. .SH FILES .fc ^ ~ .nf -.ta \w'%etcdir%/ExtraBigFileName 'u +.ta \w'%nmhetcdir%/ExtraBigFileName 'u ^$HOME/\&.mh\(ruprofile~^The user profile .fi .SH "PROFILE COMPONENTS" @@ -466,7 +498,9 @@ for more information. .IR dist (1), .IR file (1), .IR forw (1), +.IR mhbuild (1), .IR mhparam (1), +.IR mhlogin (1), .IR repl (1), .IR whatnow (1), .IR mh\-alias (5), @@ -476,7 +510,7 @@ for more information. .SH DEFAULTS .nf .RB ` file "' defaults to /draft" -.RB ` \-alias "' defaults to %etcdir%/MailAliases" +.RB ` \-alias "' defaults to %nmhetcdir%/MailAliases" .RB ` \-nodraftfolder ' .RB ` \-nofilter ' .RB ` \-format '