X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/19238e87f359e78f6c28f9d9f5ecd23a023135f6..65ce050e2794a14e17b26de8096b748d51cc1f9a:/man/send.man diff --git a/man/send.man b/man/send.man index 6e22bba2..2691c899 100644 --- a/man/send.man +++ b/man/send.man @@ -1,7 +1,7 @@ .\" .\" %nmhwarning% .\" -.TH SEND %manext1% "July 8, 2014" "%nmhversion%" +.TH SEND %manext1% "March 23, 2016" "%nmhversion%" .SH NAME send \- send a message .SH SYNOPSIS @@ -32,6 +32,8 @@ send \- send a message .RB [ \-watch " | " \-nowatch ] .RB [ \-mts .IR smtp " | " sendmail/smtp " | " sendmail/pipe ] +.RB [ \-sendmail +.IR program ] .RB [ \-server .IR servername ] .RB [ \-port @@ -42,6 +44,8 @@ send \- send a message .IR ssf ] .RB [ \-saslmech .IR mechanism ] +.RB [ \-authservice +.IR service ] .RB [ \-snoop ] .RB [ \-user .IR username ] @@ -362,23 +366,33 @@ 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. .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 .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 \-saslmech xoauth2 +is used, the HTTP transaction is also shown. .PP If .B nmh @@ -416,6 +430,24 @@ underlying SASL mechanism. A value of 0 disables encryption. .PP If .B nmh +has been compiled with OAuth support, the +.B \-saslmech xoauth2 +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 the service, which must +be specified with the +.B \-authservice +.I service +switch. Before using this, the user must authorize nmh by running +.B mhlogin +and grant authorization to that account. See the +.B mhlogin +man page for more details. +.PP +If +.B nmh has been compiled with TLS support, the .B \-tls and @@ -456,7 +488,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" @@ -478,6 +510,7 @@ for more information. .IR forw (1), .IR mhbuild (1), .IR mhparam (1), +.IR mhlogin (1), .IR repl (1), .IR whatnow (1), .IR mh\-alias (5), @@ -487,7 +520,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 '