Debian Codegraph @

unixpk.man

raw ◀ ▶
3 Debian patches touch this file
1 .TH MPACK 1
2 .SH NAME
3 mpack \- pack a file in MIME format
4 .SH SYNOPSIS
5 .B mpack
6 [
•7 .B \-a
8 ]
9 [
10 .B \-s
11 .I subject
12 ]
13 [
14 .B \-d
15 .I descriptionfile
16 ]
17 [
18 .B \-m
19 .I maxsize
20 ]
21 [
22 .B \-c
23 .I content-type
24 ]
25 .I file
26 .I "address \&..."
27 .br
28 .B mpack
29 [
•30 .B \-a
31 ]
32 [
33 .B \-s
34 .I subject
35 ]
36 [
37 .B \-d
38 .I descriptionfile
39 ]
40 [
41 .B \-m
42 .I maxsize
43 ]
44 [
45 .B \-c
46 .I content-type
47 ]
48 .B \-o
49 .I outputfile
50 .I file
51 .br
52 .B mpack
53 [
•54 .B \-a
55 ]
56 [
57 .B \-s
58 .I subject
59 ]
60 [
61 .B \-d
62 .I descriptionfile
63 ]
64 [
65 .B \-m
66 .I maxsize
67 ]
68 [
69 .B \-c
70 .I content-type
71 ]
72 .B \-n
73 .I newsgroups
74 .I file
75 .SH DESCRIPTION
•76 The
77 .I mpack
•78 program encodes the
79 named file in one or more MIME messages.
80 The resulting messages are mailed to one or more recipients,
•81 written to a named file or set of files,
82 or posted to a set of newsgroups.
83 .PP
84 .SH OPTIONS
85 .TP
•86 .B \-a
87 Set the Content-Disposition to attachment. If \-a is not used
88 the Content-Disposition is inline.
89 .TP
90 .BI \-s " subject"
•91 Set the
92 .B Subject
93 header field to
94 .IR Subject .
95 By default,
96 .B mpack
97 will prompt for the contents of the subject header.
98 .TP
99 .BI \-d " descriptionfile
100 Include the contents of the file
101 .I descriptionfile
102 in an introductory section at the beginning of the first
103 generated message.
104 .TP
105 .BI \-m " maxsize"
•106 Split the message
107 (if necessary)
108 into partial messages,
109 each not exceeding
110 .I maxsize
•111 characters. The default limit is the value of the
112 .B SPLITSIZE
•113 environment variable,
114 or no limit
115 if the environment variable does not exist.
116 Specifying a
117 .I maxsize
118 of 0 means there is no limit to the size of the generated message.
119 .TP
120 .BI \-c " content-type"
121 Label the included file as being of MIME type
122 .IR content-type ,
•123 which must be a subtype of
124 .BR application ,
125 .BR audio ,
126 .BR image ,
•127 or
128 .BR video .
129 If this switch is not given,
130 .B mpack
131 examines the file to determine its type.
132 .TP
133 .BI \-o " outputfile"
134 Write the generated message to the file
135 .IR outputfile .
•136 If the message has to be split,
137 the partial messages will instead be written to the files
138 .IR outputfile .01,
139 .IR outputfile .02,
140 etc.
141 .TP
142 .BI \-n " newsgroups"
143 Post the generated message(s) to the comma-separated netnews
144 .IR newsgroups .
145 .TP
146 .I file
147 Encode the named
148 .IR file .
149 .TP
150 .I "address \&..."
151 Mail the generated messages to the specified addresses.
152 .SH ENVIRONMENT
153 .TP
154 .B TMPDIR
•155 Directory to store temporary files. Default is /tmp.
156 .TP
157 .B SPLITSIZE
•158 Default value of the \-m switch.
•159 .SH REPORTING BUGS
160 Send all bug reports to mpack\[email protected].