source: networking/mailnews/mutt.xml@ a1494226

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules 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 a1494226 was a1494226, checked in by Ken Moffat <ken@…>, 8 years ago

mutt-1.7.0

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

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