source: networking/mailnews/mutt.xml@ fb19657a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 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 fb19657a was fb19657a, checked in by Ken Moffat <ken@…>, 5 years ago

tags

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

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