X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a431fb0f788cf93c9d93c3ad268fa0813e1bf2ef..8fbfa94ef2947cf35b97a7da9b2c0f97f5c56325:/man/send.man diff --git a/man/send.man b/man/send.man index fe528cb7..83cf19ae 100644 --- a/man/send.man +++ b/man/send.man @@ -1,7 +1,7 @@ .\" .\" %nmhwarning% .\" -.TH SEND %manext1% "April 9, 2013" "%nmhversion%" +.TH SEND %manext1% "December 22, 2013" "%nmhversion%" .SH NAME send \- send a message .SH SYNOPSIS @@ -103,7 +103,27 @@ The body of each header field whose name matches the is interpreted as a file name, and each file named is included as a separate part in the MIME message. .PP -For file names with dot suffixes, the profile is scanned for a +Determination of the content MIME type inserted into the Content-Type +header for each part depends on how the +.B nmh +installation was configured. If a program, such as +.B file +with a +.B --mime +or +.B -i +option, was found that can specify the type of a file as a MIME type +string, then that will be used. To determine if your +.B nmh +was so configured, run +.B mhparam mimetypeproc +and see if a non-empty string is displayed. +.PP +If your +.B nmh +was not configured with a program to specify a file type as a MIME +string, then a different method is used to determine the content-type +string. For file names with dot suffixes, the profile is scanned for a .I mhshow-suffix- entry for that suffix. The content-type for the part is taken from that profile entry if a match is @@ -395,14 +415,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 .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 @@ -470,10 +493,13 @@ for more information. .SH "SEE ALSO" .IR comp (1), .IR dist (1), +.IR file (1), .IR forw (1), +.IR mhparam (1), .IR repl (1), .IR whatnow (1), .IR mh\-alias (5), +.IR mh\-profile (5), .IR mh\-tailor (5), .IR post (8) .SH DEFAULTS