source: networking/mailnews/mutt.xml@ 9fce5575

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 9fce5575 was c1f025f3, checked in by Ken Moffat <ken@…>, 4 years ago

fetchmail-6.4.3,
mutt-1.13.5.

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

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