source: networking/mailnews/mutt.xml@ d7c73e56

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d7c73e56 was d7c73e56, checked in by Ken Moffat <ken@…>, 4 years ago

Mutt-1.13.2 and try to get the optional deps into order.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22519 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 14.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY mutt-download-http "https://bitbucket.org/mutt/mutt/downloads/mutt-&mutt-version;.tar.gz">
8 <!ENTITY mutt-download-ftp "ftp://ftp.mutt.org/pub/mutt/mutt-&mutt-version;.tar.gz">
9 <!ENTITY mutt-md5sum "5f8e803eeef804bb7d69ac91d9cc9c33">
10 <!ENTITY mutt-size "4.7 MB">
11 <!ENTITY mutt-buildsize "48 MB (add 6MB for the PDF manual)">
12 <!ENTITY mutt-time "0.3 SBU (add 0.4 SBU for the PDF manual)">
13]>
14
15<sect1 id="mutt" xreflabel="Mutt-&mutt-version;">
16 <?dbhtml filename="mutt.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Mutt-&mutt-version;</title>
24
25 <indexterm zone="mutt">
26 <primary sortas="a-mutt">mutt</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Mutt</title>
31
32 <para>The <application>Mutt</application> package contains a Mail User
33 Agent. This is useful for reading, writing, replying to, saving, and
34 deleting your email.</para>
35
36 &lfs90_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing='compact'>
40 <listitem>
41 <para>Download (HTTP): <ulink url="&mutt-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&mutt-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &mutt-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &mutt-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &mutt-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &mutt-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <!--<bridgehead renderas="sect3">Additional Downloads</bridgehead>
61 <itemizedlist spacing='compact'>
62 <listitem>
63 <para>Required patch: <ulink
64 url="&patch-root;/mutt-&mutt-version;-upstream_fixes-1.patch"/>
65 </para>
66 </listitem>
67 </itemizedlist>-->
68
69 <bridgehead renderas="sect3">Mutt Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Optional</bridgehead>
72 <para role="optional">
73 <xref linkend="aspell"/>,
74 <xref linkend="cyrus-sasl"/>,
75 <xref linkend="gdb"/>,
76 <xref linkend="gnupg2"/>,
77 <xref linkend="gnutls"/>,
78 <xref linkend="gpgme"/>,
79 <xref linkend="libidn"/>,
80 <xref linkend="mitkrb"/>,
81 an <xref linkend="server-mail"/> (that provides a <command>sendmail</command> command),
82 <xref linkend="slang"/>,
83 <xref linkend="sqlite"/>,
84 <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">libgssapi</ulink>,
85 <ulink url="http://mixmaster.sourceforge.net/">Mixmaster</ulink>,
86 <!-- from configure: \-\-with-bdb[=DIR] Use BerkeleyDB4 if gdbm is not available
87 but gdbm is installed in LFS, so do not mention BerkeleyDB
88 <xref linkend="db"/> or -->
89 <ulink url="http://fallabs.com/qdbm/">QDBM</ulink> or
90 <ulink url="http://fallabs.com/tokyocabinet/">Tokyo Cabinet</ulink>
91 </para>
92
93 <bridgehead renderas="sect4">Optional (To Regenerate HTML
94 Documentation)</bridgehead>
95 <para role="optional">
96 <xref linkend="libxslt"/> and either
97 <xref linkend="lynx"/>,
98 <ulink url="&w3m-url;">W3m</ulink>, or
99 <ulink url="&elinks-url;">ELinks</ulink>
100 </para>
101
102 <bridgehead renderas="sect4">Optional (To Generate PDF Manual)</bridgehead>
103 <para role="optional">
104 <xref linkend="docbook-dsssl"/>,
105 <xref linkend="openjade"/>, and
106 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/> with
107 <command>pdfjadetex</command> installed)
108 </para>
109
110 <para condition="html" role="usernotes">User Notes:
111 <ulink url="&blfs-wiki;/mutt"/></para>
112
113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of Mutt</title>
117
118 <para><application>Mutt</application> requires a group named
119 <systemitem class="groupname">mail</systemitem>. You can
120 add this group, if it does not exist, with this command:</para>
121
122<screen role="root"><userinput>groupadd -g 34 mail</userinput></screen>
123
124 <para>If you did not install an <xref linkend="server-mail"/>, you need to
125 modify the ownership of <filename class="directory">/var/mail</filename>
126 with this command:</para>
127
128<screen role="root"><userinput>chgrp -v mail /var/mail</userinput></screen>
129
130 <para><application>Mutt</application> will rebuild the html documentation
131 if <application>libxslt</application> is present, then use that to update
132 the text manual - even if none of the specified browsers are present. That
133 will create an empty text file, so we will save the shipped file.
134 </para>
135
136 <para>Install <application>Mutt</application> by running the following
137 commands:</para>
138
139<screen><userinput>cp -v doc/manual.txt{,.shipped} &amp;&amp;
140./configure --prefix=/usr \
141 --sysconfdir=/etc \
142 --with-docdir=/usr/share/doc/mutt-&mutt-version; \
143 --with-ssl \
144 --enable-external-dotlock \
145 --enable-pop \
146 --enable-imap \
147 --enable-hcache \
148 --enable-sidebar &amp;&amp;
149make</userinput></screen>
150
151 <para>To generate the PDF manual with <xref linkend="texlive"/>, run
152 the following command:</para>
153
154<screen remap="doc"><userinput>make -C doc manual.pdf</userinput></screen>
155
156 <para>This package does not come with a test suite.</para>
157
158 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
159
160 <screen role='root'><userinput>make install &amp;&amp;
161test -s doc/manual.txt ||
162 install -v -m644 doc/manual.txt.shipped \
163 /usr/share/doc/mutt-&mutt-version;/manual.txt</userinput></screen>
164
165 <para>If you generated the PDF manual, install it
166 by issuing the following command as the
167 <systemitem class="username">root</systemitem> user:</para>
168
169<screen role='root' remap='doc'><userinput>install -v -m644 doc/manual.pdf \
170 /usr/share/doc/mutt-&mutt-version;</userinput></screen>
171
172 <note>
173 <para>
174 If you used a DESTDIR method to only install to a temporary location as
175 a regular user (as part of a package menagement process), you will need
176 to run the following as the <systemitem class="username">root</systemitem>
177 user after completing the real install:
178 </para>
179
180<screen role="nodump"><userinput>chown root:mail /usr/bin/mutt_dotlock &amp;&amp;
181chmod -v 2755 /usr/bin/mutt_dotlock</userinput></screen>
182
183 <para>
184 An info file is now installed, so you will also need to recreate the
185 <filename>/usr/share/info/dir</filename> as described when
186 <application>Texinfo</application> was installed in LFS.
187 </para>
188 </note>
189
190
191 </sect2>
192
193 <sect2 role="commands">
194 <title>Command Explanations</title>
195
196 <para><parameter>--enable-external-dotlock</parameter>: In some circumstances
197 the mutt-dotlock program is not created. This switch ensures it is always
198 created.</para>
199
200 <para><parameter>--enable-pop</parameter>: This switch enables
201 POP3 support.</para>
202
203 <para><parameter>--enable-imap</parameter>: This switch enables
204 IMAP support.</para>
205
206 <para><parameter>--enable-hcache</parameter>: This switch enables
207 header caching.</para>
208
209 <para><parameter>--enable-sidebar</parameter>: This switch enables support
210 for the sidebar (a list of mailboxes). It is off by default, but can be
211 turned on by <command>:set sidebar_visible</command> in mutt (and off again
212 with ':unset'), or it can be enabled in <filename>~/.muttrc</filename>.</para>
213
214 <para><parameter>--with-ssl</parameter>: This parameter adds SSL/TLS
215 support from openssl in POP3/IMAP/SMTP.</para>
216
217 <para><option>--enable-autocrypt --with-sqlite3</option>: These two
218 switches add support for passive protection against data collection,
219 using gnupg and gpgme (gpgme is enabled by autocrypt). See <ulink
220 url="http://www.mutt.org/doc/manual/#autocryptdoc">The Manual</ulink>
221 </para>
222
223 <para><option>--enable-gpgme</option>: This switch enables GPG support
224 through the GPGME package. Use this switch if you want GPG support in
225 Mutt.</para>
226
227 <para><option>--enable-smtp</option>: This switch enables
228 SMTP relay support.</para>
229
230 <para><option>--with-idn2</option>: Use this parameter if both libidn and
231 libidn2 have been installed, and you wish to use libidn2 here.</para>
232
233 <para><option>--with-sasl</option>: This parameter adds
234 authentication support from <xref linkend="cyrus-sasl"/> in POP3/IMAP/SMTP
235 if they are enabled. Depending on the server configuration, this may not
236 be needed for POP3 or IMAP. However, it is needed for SMTP
237 authentication.</para>
238
239 <!-- we do not normally list all possible switches. LFS installs ncurses.
240 <para><option>\-\-with-slang</option>: Use <application>S-Lang
241 </application> instead of <application>Ncurses</application>.</para> -->
242
243 <para><command>test -s doc/manual.txt || install -v -m644 doc/manual.txt.shipped ...</command>:
244 if the text manual is now empty (<application>libxslt</application> is
245 installed, but without any of the specified text browsers), install the
246 saved copy <emphasis>after</emphasis> running 'make install'
247 <emphasis>(which would itself empty manual.txt if the shipped file had
248 already been copied back)</emphasis>.</para>
249
250 </sect2>
251
252 <sect2 role="configuration">
253 <title>Configuring Mutt</title>
254
255 <sect3 id="mutt-config">
256 <title>Config Files</title>
257
258 <para><filename>/etc/Muttrc</filename>, <filename>~/.muttrc</filename>,
259 <filename>/etc/mime.types</filename>, <filename>~/.mime.types</filename></para>
260
261 <indexterm zone="mutt mutt-config">
262 <primary sortas="e-etc-Muttrc">/etc/Muttrc</primary>
263 </indexterm>
264
265 <indexterm zone="mutt mutt-config">
266 <primary sortas="e-AA.muttrc">~/.muttrc</primary>
267 </indexterm>
268
269 <indexterm zone="mutt mutt-config">
270 <primary sortas="e-etc-mime.types">/etc/mime.types</primary>
271 </indexterm>
272
273 <indexterm zone="mutt mutt-config">
274 <primary sortas="e-AA.mime.types">~/.mime.types</primary>
275 </indexterm>
276
277 </sect3>
278
279 <sect3>
280 <title>Configuration Information</title>
281
282 <para>No changes in these files are necessary to begin using
283 <application>Mutt</application>. When you are ready to make changes, the
284 man page for <filename>muttrc</filename> is a good starting place.</para>
285
286 <para>In order to utilize <application>GnuPG</application>, use the following
287 command:</para>
288
289<screen><userinput>cat /usr/share/doc/mutt-&mutt-version;/samples/gpg.rc &gt;&gt; ~/.muttrc</userinput></screen>
290
291 </sect3>
292
293 </sect2>
294
295 <sect2 role="content">
296 <title>Contents</title>
297
298 <segmentedlist>
299 <segtitle>Installed Programs</segtitle>
300 <segtitle>Installed Libraries</segtitle>
301 <segtitle>Installed Directories</segtitle>
302
303 <seglistitem>
304 <seg>flea, mutt, mutt_dotlock, muttbug, pgpewrap, pgpring, and
305 smime_keys</seg>
306 <seg>None</seg>
307 <seg>/usr/share/doc/mutt-&mutt-version;</seg>
308 </seglistitem>
309 </segmentedlist>
310
311 <variablelist>
312 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
313 <?dbfo list-presentation="list"?>
314 <?dbhtml list-presentation="table"?>
315
316 <varlistentry id="flea">
317 <term><command>flea</command></term>
318 <listitem>
319 <para>is a script showing where to report bugs.</para>
320 <indexterm zone="mutt flea">
321 <primary sortas="b-flea">flea</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 <varlistentry id="mutt-prog">
327 <term><command>mutt</command></term>
328 <listitem>
329 <para>is a Mail User Agent (MUA) which enables you to read, write
330 and delete your email.</para>
331 <indexterm zone="mutt mutt-prog">
332 <primary sortas="b-mutt">mutt</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="mutt_dotlock">
338 <term><command>mutt_dotlock</command></term>
339 <listitem>
340 <para>implements the mail spool file lock.</para>
341 <indexterm zone="mutt mutt_dotlock">
342 <primary sortas="b-mutt_dotlock">mutt_dotlock</primary>
343 </indexterm>
344 </listitem>
345 </varlistentry>
346
347 <varlistentry id="muttbug">
348 <term><command>muttbug</command></term>
349 <listitem>
350 <para>is a script identical to <command>flea</command>.</para>
351 <indexterm zone="mutt muttbug">
352 <primary sortas="b-muttbug">muttbug</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 <varlistentry id="pgpewrap">
358 <term><command>pgpewrap</command></term>
359 <listitem>
360 <para>prepares a command line for the <xref linkend="gnupg2"/>
361 utilities.</para>
362 <indexterm zone="mutt pgpewrap">
363 <primary sortas="b-pgpewrap">pgpewrap</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 <varlistentry id="pgpring">
369 <term><command>pgpring</command></term>
370 <listitem>
371 <para>is a key ring dumper for <ulink
372 url="http://www.pgp.com/">PGP</ulink>. It is not needed for
373 <xref linkend="gnupg2"/>.</para>
374 <indexterm zone="mutt pgpring">
375 <primary sortas="b-pgpring">pgpring</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry id="smime_keys">
381 <term><command>smime_keys</command></term>
382 <listitem>
383 <para>manages a keystore for S/MIME certificates.</para>
384 <indexterm zone="mutt smime_keys">
385 <primary sortas="b-smime_keys">smime_keys</primary>
386 </indexterm>
387 </listitem>
388 </varlistentry>
389
390 </variablelist>
391
392 </sect2>
393
394</sect1>
Note: See TracBrowser for help on using the repository browser.