X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=man%2Fpost.man;h=6c58c14e34aefdcce012fcdbcb9c51f4bfb00b3f;hp=24a74bc4503f4c812fd0a12a5633afc930c92de6;hb=363190329760d38060e89956206583831b0d084d;hpb=1b5a1bd2244d3e1c12b7c9e1f48e445de5ad2ea2 diff --git a/man/post.man b/man/post.man index 24a74bc..6c58c14 100644 --- a/man/post.man +++ b/man/post.man @@ -1,6 +1,5 @@ .\" .\" %nmhwarning% -.\" $Id$ .\" .TH POST %manext8% "%nmhdate%" MH.6.8 [%nmhversion%] .SH NAME @@ -8,7 +7,7 @@ post \- deliver a message .SH SYNOPSIS .HP 5 .na -.B %libdir%/post +.B %libdir%/post .RB [ \-alias .IR aliasfile ] .RB [ \-filter @@ -21,11 +20,6 @@ post \- deliver a message .RB [ \-watch " | " \-nowatch ] .RB [ \-width .IR columns ] -.RB [ \-sasl ] -.RB [ \-saslmech -.IR mechanism ] -.RB [ \-user -.IR username ] .I file .RB [ \-version ] .RB [ \-help ] @@ -94,7 +88,7 @@ should take aliases from. More than one file can be specified, each being preceded with .BR \-alias . In any event, the primary alias file is -read first. +read first. \" TODO: clarify. What means ``primary''? .PP The .B \-msgid @@ -116,11 +110,8 @@ Under normal circumstances, .B post constructs the \*(lqFrom:\*(rq line of the message from the user's login name, the full name from the GECOS field of the -passwd file, and the fully\-qualified name of the local machine (or the -value of -\*(lqlocalname\*(rq in -.IR mts.conf , -if set). An example is \*(lqFrom: Dan Harkless +passwd file, and the fully\-qualified name of the local machine. +An example is \*(lqFrom: Dan Harkless \*(rq. There are four ways to override these values, however. Note that they apply equally to \*(lqResent\-From:\*(rq lines in messages sent with @@ -179,41 +170,23 @@ header. This is useful in pretending to send mail \*(lqdirectly\*(rq from a rem account, or when remote email robots give improper precedence to the envelope \*(lqFrom:\*(rq. Note that your MTA may still reveal your real identity (e.g. .BR sendmail 's -\*(lqX\-Authentication\-Warning:\*(rq header). +\*(lqX\-Authentication\-Warning:\*(rq header). .PP -If -.B nmh -has been compiled with SASL support, the -.B \-sasl -switch will enable -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). -.B \-saslmech -switch can be used to select a particular SASL mechanism, -and the the -.B \-user -switch can be used to select a authorization userid -to provide to SASL other than the default. -.PP -Currently SASL security layers are not supported for SMTP. -.BR nmh 's -SMTP SASL code -will always negotiate an unencrypted connection. This means that while the SMTP -authentication can be encrypted, the subsequent data stream can not. This is in -contrast to -.BR nmh 's -POP3 SASL support, where encryption is supported for both the -authentication and the data stream. +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 +.RI servers +entry in +.I %etcdir%/mts.conf +). .SH FILES .fc ^ ~ .nf .ta \w'%etcdir%/ExtraBigFileName 'u ^%etcdir%/mts.conf~^nmh mts configuration file -^%etcdir%/MailAliases~^global nmh alias file ^%bindir%/refile~^Program to process Fcc:s ^%libdir%/mhl~^Program to process Bcc:s .fi @@ -222,8 +195,7 @@ authentication and the data stream. .B post does .B NOT -consult the user's -.I \&.mh\(ruprofile +consult the user's profile. .SH "SEE ALSO" mhmail(1), send(1), mh\-mail(5), mh\-alias(5), mh\-tailor(5), @@ -232,7 +204,6 @@ mhmail(1), send(1), mh\-mail(5), mh\-alias(5), mh\-tailor(5), .SH DEFAULTS .nf -.RB ` \-alias "' defaults to %etcdir%/MailAliases" .RB ` \-format ' .RB ` \-nomime ' .RB ` \-nomsgid ' @@ -245,7 +216,7 @@ mhmail(1), send(1), mh\-mail(5), mh\-alias(5), mh\-tailor(5), .SH CONTEXT None -.Bu +.SH BUGS \*(lqReply\-To:\*(rq fields are allowed to have groups in them according to the 822 specification, but .B post