% Librarian T09-20FUڱUl5MPACK RMUNPACK`ͮU1 MPACK mpack pack a file in MIME format 2 SYNOPSIS mpack  -s subject -d descriptionfile -m maxsize -c content-type file "address \&..." or -o outputfile or6 -n newsgroups (not supported on OpenVMS) 2 DESCRIPTION;The mpack program encodes the the named file in one or more:MIME messages. The resulting messages are mailed to one or<more rec ipients, written to a named file or set of files, orposted to a set of newsgroups. 2 OPTIONS<All options are given in lower case and must be preceded by a "-"3 sUsage: -s " subject":Set the Subject header field to Subject. By default, mpack/prompt for the contents of the subject header. 3 dUsage: -d " descriptionfile6Include the contents of the file descriptionfile in an<introductory section at the beginning of the first generated message. 3 mUsage: -m "  maxsize"<Split the message (if necessary) into partial messages, each;not exceeding maxsize characters. The default limit is the;value of the SPLITSIZE environment variable, or no limit if)the environment variable does not exist. 8Specifying a maxsize of 0 means there is no limit to thesize of the generated message. 3 cUsage -c " content-type";Label the included file as being of MIME type content-type,@which must be a subtype of: application, audio, image, or video.7If this  switch is not given, mpack examines the file todetermine its type. 3 oUsage: -o " outputfile";Write the generated message to the file "outputfile", which9must be a true file name, not a logical symbol. It must 6terminate in filename.extension, ";version_number" is optional.9If the message has to be split, the partial messages will instead be written to the files: filename_01.extension filename_02.extension filename_03.extension etc.3 nUsage -n " newsgroups"NOT SUPPORTED ON OpenVMS!!!<Post the generated message(s) to the comma-separated netnews newsgroups .3 file#The name of the file to be encoded. 3 address;NOT Supported on OpenVMS!!! Instead, generate the file(s),then send it(them) with MAIL. 2 ENVIRONMENT<These logical symbols may be used to change the behavior of the program in certain ways:<TMPDIR Directory to store temporary files. Default is @ the user's home directory as spe cified by SYS$LOGIN:+SPLITSIZE Default value of the -m switch.wwڱU 1 MUNPACK= munpack - unpack messages in MIME or split-uuencode format 2 SYNOPSIS9 munpack [-f] [-q] [-t] [-"C" directory] "filename &..." 2 DESCRIPTION9The munpack program reads each RFC-822 message "filename";and writes all non-text MIME parts or split-uuencoded files9as files. If no filename argument is given, munpack reads!from standard input (SYS$INPUT). ;If the message sug gests a file name to use for the imbedded:part, that name is cleaned of potential problem characters7and used for the output file. If the suggested filename8includes subdirectories, they will be ignored, files are9always unpacked into the directory specified by the user,not by the message. 6If the message does not suggest a file name, the names1"part.001", "part.002", etc are used in sequence.;If the imbedded part was preceded with textual information,8that information is also written to a file. The file is6named the same as the imbedded part, with any filename!extension replaced with ".desc". 2 OPTIONS=Most options are given in lower case and must be preceded by :a "-". The "C" option must be given in upper case and be quoted.3 f Usage: -fKOn OpenVMS the default is to flag the attempted creation of higher numberedCversions of a file as a fatal error. This prevents attacks by, forKinstance, sending LOGIN.COM along with 400 other pieces in a MIME message. EUsing -f overrides this protection and allows newer (higher numbered)Kversions of files to be created. This option should rarely be used, but itAmight be useful if a series of files are sent with names that areBdegenerate as seen by the OpenVMS version of munpack, for instancefile.gif;1 and file.gif;2. 3 q Usage: -qEBe quiet. Supresses messages about saving partial messages and about)messages with no interesting information.3 t Usage: -tBAlso write the text MIME parts of multipart messages as files. ByDdefault, text parts that do not have a filename parameter do not getDunpacked. This option effectively disables the ".desc" file featurefor MIME messages.3 CUsage: "-C" " directory"<Change the current directory to directory before reading any;files. This is useful when invoking munpack from a mail or?news reader. Note that it will look for the filename to unpack>in the directory indicated, that when munpack is invoked with:) $ munpack "-C" [.subdir] file_to_unpackDit will look for [.subdir]file_to_unpack. If you want to unpack an Fexisting file into a particular directory where it is not located, use this form:9 $ munpack "-C" [.subdir] DISK:[DIR1.DIR2]file_to_unpack9ie, provide a full path specification for the input file.2 DECODING_MIME;To decode a MIME message, first save it to a text file. If9possible, save it with all headers included. Munpack can6decode some MIME files when the headers are mi ssing or;incomplete, other files it cannot decode without having the<information in the headers. In general, messages which have9a statement at the beginning that they are in MIME format8can be decoded without the headers. Messages which have<been split into multiple parts generally require all headers(in order to be reassembled and decoded. 3Some LAN-based mail systems and some mail providers4(including America Online, as of the writing of this5document) place the mail headers at the bottom of the:message, instead of at the top of the message. If you are9having problems decoding a MIME message on such a system,:you need to convert the mail back into the standard format;by removing the system's nonstandard headers and moving the3standard Internet headers at the top of the message5(separated from the message body with a blank line). :There must be exactly one message per file. Munpack cannot7deal with multiple messages in a single file, to decode;things correctly it must know when one message ends and thenext one begins. %To decode a message, run the command: munpack " file"<where "file" is the name of the file containing the message.: More than one filename may be specified, munpack will try<to decode the message in each file. For more information on1ways to run munpack, the section "OPTIONS" above. 2 ENVIRONMENT:This logical symbol may be used to change the behavior of the program in certain ways:<TMPDIR Directory to store temporary files. Default is @ the user's home directory as specified by SYS$LOGIN:ww