source: networking/mailnews/mutt.xml@ 4e1712b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 4e1712b was 4e1712b, checked in by Ken Moffat <ken@…>, 4 years ago

mutt-1.14.4

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

  • Property mode set to 100644
File size: 15.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">
[4e1712b]9 <!ENTITY mutt-md5sum "a1446e9a169e79001c78692c80090ae5">
[cb704b48]10 <!ENTITY mutt-size "4.8 MB">
[f5d1ea6]11 <!ENTITY mutt-buildsize "46 MB">
[afd9074]12 <!ENTITY mutt-time "0.3 SBU">
[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
[cb704b48]86 <bridgehead renderas="sect4">Recommended (for a text version of the manual)</bridgehead>
87 <para role="recommended">
88 <xref linkend="lynx"/>, or
89 <xref linkend="Links"/> (or
90 <ulink url="&w3m-url;">W3m</ulink>, or
91 <ulink url="&elinks-url;">ELinks</ulink>) - please read the Note.
92 </para>
93
[6b9cfc9]94 <bridgehead renderas="sect4">Optional</bridgehead>
[f82ac3f]95 <para role="optional">
96 <xref linkend="aspell"/>,
97 <xref linkend="cyrus-sasl"/>,
[05b0caac]98 <xref linkend="gdb"/>,
99 <xref linkend="gnupg2"/>,
[d7c73e56]100 <xref linkend="gnutls"/>,
[05b0caac]101 <xref linkend="gpgme"/>,
[f82ac3f]102 <xref linkend="libidn"/>,
[05b0caac]103 <xref linkend="mitkrb"/>,
104 an <xref linkend="server-mail"/> (that provides a <command>sendmail</command> command),
105 <xref linkend="slang"/>,
[d7c73e56]106 <xref linkend="sqlite"/>,
107 <ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/">libgssapi</ulink>,
108 <ulink url="http://mixmaster.sourceforge.net/">Mixmaster</ulink>,
[7c56ece]109 <!-- from configure: \-\-with-bdb[=DIR] Use BerkeleyDB4 if gdbm is not
110 available but gdbm is installed in LFS, so do not mention BerkeleyDB
[d7c73e56]111 <xref linkend="db"/> or -->
[05b0caac]112 <ulink url="http://fallabs.com/qdbm/">QDBM</ulink> or
113 <ulink url="http://fallabs.com/tokyocabinet/">Tokyo Cabinet</ulink>
[4d91d36c]114 </para>
[481b3e8]115
[afd9074]116<!--<bridgehead renderas="sect4">Optional (To Generate PDF Manual)</bridgehead>
[3f8a5e2]117 <para role="optional">
[05b0caac]118 <xref linkend="docbook-dsssl"/>,
[aadebdcc]119 <xref linkend="openjade"/>, and
[6709570]120 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/> with
121 <command>pdfjadetex</command> installed)
[afd9074]122 </para>-->
[8ae8678b]123
[061ec9d]124 <para condition="html" role="usernotes">User Notes:
125 <ulink url="&blfs-wiki;/mutt"/></para>
126
[6b9cfc9]127 </sect2>
[481b3e8]128
[6b9cfc9]129 <sect2 role="installation">
130 <title>Installation of Mutt</title>
[481b3e8]131
[cb704b48]132 <note>
133 <para>
134 <application>Mutt</application> ships with an HTML version of its
135 manual, but the text version is no longer provided because differences
136 in the formatting from different text browsers compared to the shipped
137 version caused complaints. To get a text file, the following are used
138 in order of preference: <application>lynx</application> with overstriking
139 (backspaces) for emphasis, <application>w3m</application> or
140 <application>elinks</application>: the latter two apparently provide
141 plain text. Plain text is generally preferred unless reading the HTML
142 manual, so the instructions below use <application>lynx</application>
143 if available, or else <application>links</application> to produce plain
144 text.
145 </para>
146 </note>
147
[7c56ece]148 <para>
149 <application>Mutt</application> requires a group named
150 <systemitem class="groupname">mail</systemitem>. You can
151 add this group, if it does not exist, with this command:
152 </para>
[481b3e8]153
[b785ab29]154<screen role="root"><userinput>groupadd -g 34 mail</userinput></screen>
[481b3e8]155
[7c56ece]156 <para>
157 If you did not install an <xref linkend="server-mail"/>, you need to
158 modify the ownership of <filename class="directory">/var/mail</filename>
159 with this command:
160 </para>
[481b3e8]161
[e3353b3]162<screen role="root"><userinput>chgrp -v mail /var/mail</userinput></screen>
[481b3e8]163
[7c56ece]164 <para>
[cb704b48]165 Install <application>Mutt</application> by running the following
166 commands:
[7e39ba39]167 </para>
168
[7c56ece]169 <para>
[cb704b48]170 To ensure that a plain text manual is created when using
171 <application>lynx</application> or to otherwise use
172 <application>links</application> to produce it (instead of
173 <application>elinks</application>), run the following command:
174 </para>
175
176<screen><userinput>sed -i -e 's/ -with_backspaces//' -e 's/elinks/links/' \
177 -e 's/-no-numbering -no-references//' doc/Makefile.in</userinput></screen>
178
179 <para>
180 Now configure and build the application:
[7c56ece]181 </para>
[481b3e8]182
[afd9074]183<screen><userinput>./configure --prefix=/usr \
184 --sysconfdir=/etc \
[2188f69]185 --with-docdir=/usr/share/doc/mutt-&mutt-version; \
[afd9074]186 --with-ssl \
187 --enable-external-dotlock \
188 --enable-pop \
189 --enable-imap \
190 --enable-hcache \
191 --enable-sidebar &amp;&amp;
[37e52897]192make</userinput></screen>
[2561ad9e]193
[afd9074]194<!-- PDF broken with 1.14.0
[7c56ece]195 <para>
196 To generate the PDF manual with <xref linkend="texlive"/>, run
197 the following command:
198 </para>
[2561ad9e]199
[afd9074]200<screen remap="doc"><userinput>make -C doc manual.pdf</userinput></screen>-->
[2561ad9e]201
[7c56ece]202 <para>
203 This package does not come with a test suite.
204 </para>
[46441976]205
[7c56ece]206 <para>
207 Now, as the <systemitem class="username">root</systemitem> user:
208 </para>
[46441976]209
[afd9074]210 <screen role='root'><userinput>make install</userinput></screen>
[481b3e8]211
[afd9074]212<!--<para>
[7c56ece]213 If you generated the PDF manual, install it
214 by issuing the following command as the
215 <systemitem class="username">root</systemitem> user:
216 </para>
[2561ad9e]217
[2f3e3de9]218<screen role='root' remap='doc'><userinput>install -v -m644 doc/manual.pdf \
[afd9074]219 /usr/share/doc/mutt-&mutt-version;</userinput></screen>-->
[2561ad9e]220
[0f0774a]221 <note>
222 <para>
223 If you used a DESTDIR method to only install to a temporary location as
224 a regular user (as part of a package menagement process), you will need
[7c56ece]225 to run the following as the <systemitem class="username">root
226 </systemitem> user after completing the real install:
[0f0774a]227 </para>
228
229<screen role="nodump"><userinput>chown root:mail /usr/bin/mutt_dotlock &amp;&amp;
[51cfeac9]230chmod -v 2755 /usr/bin/mutt_dotlock</userinput></screen>
[8ccc682]231
232 <para>
233 An info file is now installed, so you will also need to recreate the
234 <filename>/usr/share/info/dir</filename> as described when
235 <application>Texinfo</application> was installed in LFS.
236 </para>
[0f0774a]237 </note>
238
239
[6b9cfc9]240 </sect2>
[481b3e8]241
[6b9cfc9]242 <sect2 role="commands">
[e3353b3]243 <title>Command Explanations</title>
[481b3e8]244
[cb704b48]245 <para>
246 <parameter>sed ... -e 's/ -with_backspaces//' ...</parameter>: This turns
247 off the backspaces used for overstriking when <application>lynx</application>
248 is used, resulting in readable plain text when using <command>view</command>.
249 </para>
250
251 <para>
252 <parameter>sed ... -e 's/elinks/links/' ...</parameter>: This allows
253 <command>links</command> to be run instead of <command>elinks</command>
254 which is not in the book.
255 </para>
256
257 <para>
258 <parameter>sed ... -e 's/-no-numbering -no-references//' ...</parameter>:
259 This removes switches which are not understood by <command>links</command>.
260 </para>
261
[7c56ece]262 <para>
263 <parameter>--enable-external-dotlock</parameter>: In some circumstances
264 the mutt-dotlock program is not created. This switch ensures it is always
265 created.
266 </para>
[0f0774a]267
[7c56ece]268 <para>
269 <parameter>--enable-pop</parameter>: This switch enables POP3 support.
270 </para>
[481b3e8]271
[7c56ece]272 <para>
273 <parameter>--enable-imap</parameter>: This switch enables IMAP support.
274 </para>
[fd7e0ed6]275
[7c56ece]276 <para>
277 <parameter>--enable-hcache</parameter>: This switch enables
278 header caching.
279 </para>
[4d91d36c]280
[7c56ece]281 <para>
282 <parameter>--enable-sidebar</parameter>: This switch enables support
283 for the sidebar (a list of mailboxes). It is off by default, but can be
284 turned on by <command>:set sidebar_visible</command> in mutt (and off
285 again with ':unset'), or it can be enabled in <filename>
286 ~/.muttrc</filename>.
287 </para>
[a1494226]288
[7c56ece]289 <para>
290 <parameter>--with-ssl</parameter>: This parameter adds SSL/TLS
291 support from openssl in POP3/IMAP/SMTP.
292 </para>
[52f9b590]293
[7c56ece]294 <para>
295 <option>--enable-autocrypt --with-sqlite3</option>: These two
296 switches add support for passive protection against data collection,
297 using gnupg and gpgme (gpgme is enabled by autocrypt). See <ulink
298 url="http://www.mutt.org/doc/manual/#autocryptdoc">The Manual</ulink>.
[d7c73e56]299 </para>
300
[7c56ece]301 <para>
302 <option>--enable-gpgme</option>: This switch enables GPG support
303 through the GPGME package. Use this switch if you want GPG support in
304 Mutt.
305 </para>
[8d759c7]306
[7c56ece]307 <para>
308 <option>--enable-smtp</option>: This switch enables
309 SMTP relay support.
310 </para>
[2561ad9e]311
[7c56ece]312 <para>
313 <option>--with-idn2</option>: Use this parameter if both libidn and
314 libidn2 have been installed, and you wish to use libidn2 here.
315 </para>
[6709570]316
[7c56ece]317 <para>
318 <option>--with-sasl</option>: This parameter adds authentication support
319 from <xref linkend="cyrus-sasl"/> in POP3/IMAP/SMTP if they are enabled.
320 Depending on the server configuration, this may not be needed for POP3
321 or IMAP. However, it is needed for SMTP authentication.
322 </para>
[a41f643]323
[0f0774a]324 <!-- we do not normally list all possible switches. LFS installs ncurses.
[7c56ece]325 <para>
326 <option>\-\-with-slang</option>: Use <application>S-Lang
327 </application> instead of <application>Ncurses</application>.
328 </para> -->
329
[6b9cfc9]330 </sect2>
[481b3e8]331
[6b9cfc9]332 <sect2 role="configuration">
333 <title>Configuring Mutt</title>
[481b3e8]334
[6b9cfc9]335 <sect3 id="mutt-config">
[e3353b3]336 <title>Config Files</title>
[481b3e8]337
[7c56ece]338 <para>
339 <filename>/etc/Muttrc</filename>,
340 <filename>~/.muttrc</filename>,
341 <filename>/etc/mime.types</filename>, and
342 <filename>~/.mime.types</filename>
343 </para>
[481b3e8]344
[6b9cfc9]345 <indexterm zone="mutt mutt-config">
346 <primary sortas="e-etc-Muttrc">/etc/Muttrc</primary>
347 </indexterm>
[481b3e8]348
[6b9cfc9]349 <indexterm zone="mutt mutt-config">
350 <primary sortas="e-AA.muttrc">~/.muttrc</primary>
351 </indexterm>
[481b3e8]352
[6b9cfc9]353 <indexterm zone="mutt mutt-config">
354 <primary sortas="e-etc-mime.types">/etc/mime.types</primary>
355 </indexterm>
[481b3e8]356
[6b9cfc9]357 <indexterm zone="mutt mutt-config">
358 <primary sortas="e-AA.mime.types">~/.mime.types</primary>
359 </indexterm>
[481b3e8]360
[6b9cfc9]361 </sect3>
[481b3e8]362
[6b9cfc9]363 <sect3>
364 <title>Configuration Information</title>
[481b3e8]365
[7c56ece]366 <para>
367 No changes in these files are necessary to begin using
368 <application>Mutt</application>. When you are ready to make changes,
369 the man page for <filename>muttrc</filename> is a good starting place.
370 </para>
[481b3e8]371
[7c56ece]372 <para>
373 In order to utilize <application>GnuPG</application>, use the following
374 command:
375 </para>
[481b3e8]376
[2561ad9e]377<screen><userinput>cat /usr/share/doc/mutt-&mutt-version;/samples/gpg.rc &gt;&gt; ~/.muttrc</userinput></screen>
[481b3e8]378
[6b9cfc9]379 </sect3>
[481b3e8]380
[6b9cfc9]381 </sect2>
[481b3e8]382
[6b9cfc9]383 <sect2 role="content">
384 <title>Contents</title>
[481b3e8]385
[6b9cfc9]386 <segmentedlist>
387 <segtitle>Installed Programs</segtitle>
388 <segtitle>Installed Libraries</segtitle>
389 <segtitle>Installed Directories</segtitle>
[481b3e8]390
[6b9cfc9]391 <seglistitem>
[e675c8f]392 <seg>flea, mutt, mutt_dotlock, muttbug, pgpewrap, pgpring, and
[2561ad9e]393 smime_keys</seg>
[6b9cfc9]394 <seg>None</seg>
[2561ad9e]395 <seg>/usr/share/doc/mutt-&mutt-version;</seg>
[6b9cfc9]396 </seglistitem>
397 </segmentedlist>
[481b3e8]398
[6b9cfc9]399 <variablelist>
400 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
401 <?dbfo list-presentation="list"?>
402 <?dbhtml list-presentation="table"?>
[481b3e8]403
[e675c8f]404 <varlistentry id="flea">
405 <term><command>flea</command></term>
406 <listitem>
[7c56ece]407 <para>
408 is a script showing where to report bugs.
409 </para>
[e675c8f]410 <indexterm zone="mutt flea">
411 <primary sortas="b-flea">flea</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
415
[6b9cfc9]416 <varlistentry id="mutt-prog">
417 <term><command>mutt</command></term>
418 <listitem>
[7c56ece]419 <para>
420 is a Mail User Agent (MUA) which enables you to read, write
421 and delete your email.
422 </para>
[6b9cfc9]423 <indexterm zone="mutt mutt-prog">
424 <primary sortas="b-mutt">mutt</primary>
425 </indexterm>
426 </listitem>
427 </varlistentry>
[481b3e8]428
[6b9cfc9]429 <varlistentry id="mutt_dotlock">
430 <term><command>mutt_dotlock</command></term>
431 <listitem>
[7c56ece]432 <para>
433 implements the mail spool file lock.
434 </para>
[6b9cfc9]435 <indexterm zone="mutt mutt_dotlock">
436 <primary sortas="b-mutt_dotlock">mutt_dotlock</primary>
437 </indexterm>
438 </listitem>
439 </varlistentry>
[481b3e8]440
[e675c8f]441 <varlistentry id="muttbug">
442 <term><command>muttbug</command></term>
443 <listitem>
[7c56ece]444 <para>
445 is a script identical to <command>flea</command>.
446 </para>
[e675c8f]447 <indexterm zone="mutt muttbug">
448 <primary sortas="b-muttbug">muttbug</primary>
449 </indexterm>
450 </listitem>
451 </varlistentry>
452
[2561ad9e]453 <varlistentry id="pgpewrap">
454 <term><command>pgpewrap</command></term>
455 <listitem>
[7c56ece]456 <para>
457 prepares a command line for the <xref linkend="gnupg2"/> utilities.
458 </para>
[2561ad9e]459 <indexterm zone="mutt pgpewrap">
[e2abad8e]460 <primary sortas="b-pgpewrap">pgpewrap</primary>
[2561ad9e]461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="pgpring">
466 <term><command>pgpring</command></term>
467 <listitem>
[7c56ece]468 <para>
469 is a key ring dumper for <ulink
470 url="http://www.pgp.com/">PGP</ulink>. It is not needed for
471 <xref linkend="gnupg2"/>.
472 </para>
[2561ad9e]473 <indexterm zone="mutt pgpring">
[e2abad8e]474 <primary sortas="b-pgpring">pgpring</primary>
[2561ad9e]475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 <varlistentry id="smime_keys">
480 <term><command>smime_keys</command></term>
481 <listitem>
[7c56ece]482 <para>
483 manages a keystore for S/MIME certificates.
484 </para>
[2561ad9e]485 <indexterm zone="mutt smime_keys">
[e2abad8e]486 <primary sortas="b-smime_keys">smime_keys</primary>
[2561ad9e]487 </indexterm>
488 </listitem>
489 </varlistentry>
490
[6b9cfc9]491 </variablelist>
[481b3e8]492
[6b9cfc9]493 </sect2>
[481b3e8]494
[f45b1953]495</sect1>
Note: See TracBrowser for help on using the repository browser.