The body of each attachment header field 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 context is scanned for a
-.I show-suffix-
-entry for that suffix.
-The content-type for the part is taken from that context entry if a match is
-found.
-If no match is found or the file does not have a dot suffix, the content-type
-is text/plain if the file contains only ASCII characters or
-application/octet-stream otherwise.
+The MIME type of each file is determined by the MIME type query program,
+as defined by the
+.I Mime-Type-Query
+profile entry.
+Mmh distributes the program
+.BR print-mimetype ,
+in case no better alternative is available on the system.
.PP
The last component of the path name is taken as the name of the MIME parts.
A message part header for an attachment might be:
^Aliasfile:~^For a default alias file
^Signature:~^To determine the user's mail signature
^Attachment\-Header:~^To set the name of the attachment header field
+^Mime\-Type\-Query:~^Program to determine the MIME types of files
.fi
.SH "SEE ALSO"