[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 |
|
---|
[15b3bc29] | 7 | <!ENTITY mutt-download-http "http://downloads.sourceforge.net/mutt/mutt-&mutt-version;.tar.gz">
|
---|
[5ed9bd0] | 8 | <!ENTITY mutt-download-ftp "ftp://ftp.mutt.org/mutt/devel/mutt-&mutt-version;.tar.gz">
|
---|
[25f9f1f] | 9 | <!ENTITY mutt-md5sum "49387458be0cb52b85ae0d73af699aae">
|
---|
| 10 | <!ENTITY mutt-size "3.5 MB">
|
---|
| 11 | <!ENTITY mutt-buildsize "25.4 MB">
|
---|
[1204d00] | 12 | <!ENTITY mutt-time "0.4 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 |
|
---|
[6b9cfc9] | 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Mutt</title>
|
---|
[481b3e8] | 27 |
|
---|
[2561ad9e] | 28 | <para>The <application>Mutt</application> package contains a Mail User
|
---|
| 29 | Agent. This is useful for reading, writing, replying to, saving, and
|
---|
| 30 | deleting your email.</para>
|
---|
[481b3e8] | 31 |
|
---|
[6b9cfc9] | 32 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 33 | <itemizedlist spacing='compact'>
|
---|
| 34 | <listitem>
|
---|
| 35 | <para>Download (HTTP): <ulink url="&mutt-download-http;"/></para>
|
---|
| 36 | </listitem>
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (FTP): <ulink url="&mutt-download-ftp;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download MD5 sum: &mutt-md5sum;</para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download size: &mutt-size;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Estimated disk space required: &mutt-buildsize;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated build time: &mutt-time;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | </itemizedlist>
|
---|
[481b3e8] | 53 |
|
---|
[6b9cfc9] | 54 | <bridgehead renderas="sect3">Mutt Dependencies</bridgehead>
|
---|
[481b3e8] | 55 |
|
---|
[6b9cfc9] | 56 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4dbbf634] | 57 | <para role="optional"><xref linkend="gnupg"/>,
|
---|
[d5404360] | 58 | <xref linkend="openssl"/> or <xref linkend="gnutls"/>,
|
---|
[8250d8e] | 59 | an <xref linkend="server-mail"/> (that provides a <command>sendmail</command> command),
|
---|
| 60 | <xref linkend="aspell"/>,
|
---|
| 61 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
|
---|
| 62 | <xref linkend="cyrus-sasl"/>,
|
---|
| 63 | <xref linkend="slang"/>,
|
---|
| 64 | <xref linkend="libidn"/>,
|
---|
| 65 | <xref linkend="gdbm"/>, and
|
---|
| 66 | <!-- <xref linkend="db"/> -->
|
---|
| 67 | <ulink url="http://www.gnu.org/software/gdb/gdb.html">GDB</ulink></para>
|
---|
[481b3e8] | 68 |
|
---|
[2561ad9e] | 69 | <bridgehead renderas="sect4">Optional (To Regenerate HTML
|
---|
| 70 | Documentation)</bridgehead>
|
---|
| 71 | <para role="optional"><xref linkend="libxslt"/> and either
|
---|
[8250d8e] | 72 | <xref linkend="lynx"/>,
|
---|
| 73 | <xref linkend="w3m"/> or
|
---|
[2561ad9e] | 74 | <ulink url="http://elinks.or.cz/">ELinks</ulink></para>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Optional (To Generate PDF Manual)</bridgehead>
|
---|
[25f9f1f] | 77 | <para role="optional"><xref linkend="jadetex"/> and
|
---|
| 78 | <xref linkend="docbook-dsssl"/></para>
|
---|
[8ae8678b] | 79 |
|
---|
[061ec9d] | 80 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url="&blfs-wiki;/mutt"/></para>
|
---|
| 82 |
|
---|
[6b9cfc9] | 83 | </sect2>
|
---|
[481b3e8] | 84 |
|
---|
[6b9cfc9] | 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of Mutt</title>
|
---|
[481b3e8] | 87 |
|
---|
[5ed9bd0] | 88 | <note>
|
---|
| 89 | <para>This version of <application>Mutt</application> is a development
|
---|
| 90 | release. The BLFS staff has determined that it provides a stable
|
---|
| 91 | program and fixes two issues in the current stable version of
|
---|
| 92 | <application>Mutt</application>: a segmentation fault that occurs under
|
---|
| 93 | certain conditions and a compilation problem when building with
|
---|
| 94 | <application>GCC-&gcc-version;</application>. To find the current
|
---|
| 95 | stable release, please refer to the
|
---|
| 96 | <ulink url="http://www.mutt.org/">Mutt home page</ulink>.</para>
|
---|
| 97 | </note>
|
---|
| 98 |
|
---|
[c7f6bfd7] | 99 | <caution>
|
---|
[d5404360] | 100 | <para>If you choose to link <application>Mutt</application> against
|
---|
| 101 | <xref linkend="gnutls"/>,
|
---|
| 102 | you won't have SSL client certificate support. Specifically the
|
---|
| 103 | <envar>ssl_client_cert</envar> configuration variable is recognized
|
---|
| 104 | as invalid. That means you will lose the ability to use
|
---|
| 105 | <command>mutt</command> via SMTP over TLS or in the case when
|
---|
| 106 | a client certification is required for authentication on an IMAP server.
|
---|
| 107 | For these reasons it is recommended to link <application>Mutt</application>
|
---|
| 108 | against <xref linkend="openssl"/> if you want SSL/TLS support.</para>
|
---|
[c7f6bfd7] | 109 | </caution>
|
---|
| 110 |
|
---|
[481b3e8] | 111 | <para><application>Mutt</application> requires a group named
|
---|
| 112 | <systemitem class="groupname">mail</systemitem>. You can
|
---|
[6b9cfc9] | 113 | add this group, if it does not exist, with this command:</para>
|
---|
[481b3e8] | 114 |
|
---|
[b785ab29] | 115 | <screen role="root"><userinput>groupadd -g 34 mail</userinput></screen>
|
---|
[481b3e8] | 116 |
|
---|
[73b3b3b] | 117 | <para>If you did not install an MTA, such as <xref linkend="postfix"/> or
|
---|
[481b3e8] | 118 | <xref linkend="sendmail"/>, you need to modify the ownership of
|
---|
[6b9cfc9] | 119 | <filename class="directory">/var/mail</filename> with this command:</para>
|
---|
[481b3e8] | 120 |
|
---|
[e3353b3] | 121 | <screen role="root"><userinput>chgrp -v mail /var/mail</userinput></screen>
|
---|
[481b3e8] | 122 |
|
---|
| 123 | <para>Install <application>Mutt</application> by running the following
|
---|
[6b9cfc9] | 124 | commands:</para>
|
---|
[481b3e8] | 125 |
|
---|
[6b9cfc9] | 126 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
[2561ad9e] | 127 | --with-docdir=/usr/share/doc/mutt-&mutt-version; \
|
---|
[156638b] | 128 | --enable-pop --enable-imap &&
|
---|
[46441976] | 129 | make</userinput></screen>
|
---|
| 130 |
|
---|
[2561ad9e] | 131 | <para>If you have the necessary dependencies installed and would like
|
---|
| 132 | to rebuild the HTML documentation, issue the following commands:</para>
|
---|
| 133 |
|
---|
| 134 | <screen><userinput>make -C doc clean &&
|
---|
| 135 | make -C doc</userinput></screen>
|
---|
| 136 |
|
---|
| 137 | <para>To generate the PDF manual with <xref linkend="jadetex"/>, run
|
---|
[25f9f1f] | 138 | the following command:</para>
|
---|
[2561ad9e] | 139 |
|
---|
| 140 | <screen><userinput>make -C doc manual.pdf</userinput></screen>
|
---|
| 141 |
|
---|
[46441976] | 142 | <para>This package does not come with a test suite.</para>
|
---|
| 143 |
|
---|
| 144 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 145 |
|
---|
| 146 | <screen role='root'><userinput>make install</userinput></screen>
|
---|
[481b3e8] | 147 |
|
---|
[2561ad9e] | 148 | <para>If you generated the PDF manual, install it and the source TeX
|
---|
[25f9f1f] | 149 | file by issuing the following command as the
|
---|
| 150 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[2561ad9e] | 151 |
|
---|
| 152 | <screen role='root'><userinput>install -v -m644 doc/manual.{pdf,tex} \
|
---|
| 153 | /usr/share/doc/mutt-&mutt-version;</userinput></screen>
|
---|
| 154 |
|
---|
[6b9cfc9] | 155 | </sect2>
|
---|
[481b3e8] | 156 |
|
---|
[6b9cfc9] | 157 | <sect2 role="commands">
|
---|
[e3353b3] | 158 | <title>Command Explanations</title>
|
---|
[481b3e8] | 159 |
|
---|
[6b9cfc9] | 160 | <para><parameter>--enable-pop</parameter>: This switch enables
|
---|
[481b3e8] | 161 | POP3 support.</para>
|
---|
| 162 |
|
---|
[6b9cfc9] | 163 | <para><parameter>--enable-imap</parameter>: This switch enables
|
---|
[481b3e8] | 164 | IMAP support.</para>
|
---|
| 165 |
|
---|
[2561ad9e] | 166 | <para><parameter>--enable-smtp</parameter>: This switch enables
|
---|
| 167 | SMTP relay support.</para>
|
---|
| 168 |
|
---|
[156638b] | 169 | <para><parameter>--with-ssl</parameter>: This parameter adds SSL/TLS
|
---|
| 170 | support from <xref linkend="openssl"/> in POP3/IMAP/SMTP if they are
|
---|
| 171 | enabled.</para>
|
---|
| 172 |
|
---|
| 173 | <para><parameter>--with-sasl</parameter>: This parameter adds
|
---|
| 174 | authentication support from <xref linkend="cyrus-sasl"/> in POP3/IMAP/SMTP
|
---|
| 175 | if they are enabled. Depending on the server configuration, this may not
|
---|
| 176 | be needed for POP3 or IMAP. However, it is needed for SMTP
|
---|
| 177 | authentication.</para>
|
---|
[126e7ea2] | 178 |
|
---|
[6b9cfc9] | 179 | </sect2>
|
---|
[481b3e8] | 180 |
|
---|
[6b9cfc9] | 181 | <sect2 role="configuration">
|
---|
| 182 | <title>Configuring Mutt</title>
|
---|
[481b3e8] | 183 |
|
---|
[6b9cfc9] | 184 | <sect3 id="mutt-config">
|
---|
[e3353b3] | 185 | <title>Config Files</title>
|
---|
[481b3e8] | 186 |
|
---|
[6b9cfc9] | 187 | <para><filename>/etc/Muttrc</filename>, <filename>~/.muttrc</filename>,
|
---|
| 188 | <filename>/etc/mime.types</filename>, <filename>~/.mime.types</filename></para>
|
---|
[481b3e8] | 189 |
|
---|
[6b9cfc9] | 190 | <indexterm zone="mutt mutt-config">
|
---|
| 191 | <primary sortas="e-etc-Muttrc">/etc/Muttrc</primary>
|
---|
| 192 | </indexterm>
|
---|
[481b3e8] | 193 |
|
---|
[6b9cfc9] | 194 | <indexterm zone="mutt mutt-config">
|
---|
| 195 | <primary sortas="e-AA.muttrc">~/.muttrc</primary>
|
---|
| 196 | </indexterm>
|
---|
[481b3e8] | 197 |
|
---|
[6b9cfc9] | 198 | <indexterm zone="mutt mutt-config">
|
---|
| 199 | <primary sortas="e-etc-mime.types">/etc/mime.types</primary>
|
---|
| 200 | </indexterm>
|
---|
[481b3e8] | 201 |
|
---|
[6b9cfc9] | 202 | <indexterm zone="mutt mutt-config">
|
---|
| 203 | <primary sortas="e-AA.mime.types">~/.mime.types</primary>
|
---|
| 204 | </indexterm>
|
---|
[481b3e8] | 205 |
|
---|
[6b9cfc9] | 206 | </sect3>
|
---|
[481b3e8] | 207 |
|
---|
[6b9cfc9] | 208 | <sect3>
|
---|
| 209 | <title>Configuration Information</title>
|
---|
[481b3e8] | 210 |
|
---|
[6b9cfc9] | 211 | <para>No changes in these files are necessary to begin using
|
---|
[481b3e8] | 212 | <application>Mutt</application>. When you are ready to make changes, the
|
---|
[6b9cfc9] | 213 | man page for <filename>muttrc</filename> is a good starting place.</para>
|
---|
[481b3e8] | 214 |
|
---|
| 215 | <para>In order to utilize <application>GnuPG</application>, use the following
|
---|
[6b9cfc9] | 216 | command:</para>
|
---|
[481b3e8] | 217 |
|
---|
[2561ad9e] | 218 | <screen><userinput>cat /usr/share/doc/mutt-&mutt-version;/samples/gpg.rc >> ~/.muttrc</userinput></screen>
|
---|
[481b3e8] | 219 |
|
---|
[6b9cfc9] | 220 | </sect3>
|
---|
[481b3e8] | 221 |
|
---|
[6b9cfc9] | 222 | </sect2>
|
---|
[481b3e8] | 223 |
|
---|
[6b9cfc9] | 224 | <sect2 role="content">
|
---|
| 225 | <title>Contents</title>
|
---|
[481b3e8] | 226 |
|
---|
[6b9cfc9] | 227 | <segmentedlist>
|
---|
| 228 | <segtitle>Installed Programs</segtitle>
|
---|
| 229 | <segtitle>Installed Libraries</segtitle>
|
---|
| 230 | <segtitle>Installed Directories</segtitle>
|
---|
[481b3e8] | 231 |
|
---|
[6b9cfc9] | 232 | <seglistitem>
|
---|
[2561ad9e] | 233 | <seg>flea, mutt, mutt_dotlock, muttbug, pgpewrap, pgpring, and
|
---|
| 234 | smime_keys</seg>
|
---|
[6b9cfc9] | 235 | <seg>None</seg>
|
---|
[2561ad9e] | 236 | <seg>/usr/share/doc/mutt-&mutt-version;</seg>
|
---|
[6b9cfc9] | 237 | </seglistitem>
|
---|
| 238 | </segmentedlist>
|
---|
[481b3e8] | 239 |
|
---|
[6b9cfc9] | 240 | <variablelist>
|
---|
| 241 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 242 | <?dbfo list-presentation="list"?>
|
---|
| 243 | <?dbhtml list-presentation="table"?>
|
---|
[481b3e8] | 244 |
|
---|
[6b9cfc9] | 245 | <varlistentry id="flea">
|
---|
| 246 | <term><command>flea</command></term>
|
---|
| 247 | <listitem>
|
---|
| 248 | <para>is a bug submitter for <application>Mutt</application>.</para>
|
---|
| 249 | <indexterm zone="mutt flea">
|
---|
| 250 | <primary sortas="b-flea">flea</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
[481b3e8] | 254 |
|
---|
[6b9cfc9] | 255 | <varlistentry id="mutt-prog">
|
---|
| 256 | <term><command>mutt</command></term>
|
---|
| 257 | <listitem>
|
---|
[2561ad9e] | 258 | <para>is a Mail User Agent (MUA) which enables you to read, write
|
---|
| 259 | and delete your email.</para>
|
---|
[6b9cfc9] | 260 | <indexterm zone="mutt mutt-prog">
|
---|
| 261 | <primary sortas="b-mutt">mutt</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
[481b3e8] | 265 |
|
---|
[6b9cfc9] | 266 | <varlistentry id="mutt_dotlock">
|
---|
| 267 | <term><command>mutt_dotlock</command></term>
|
---|
| 268 | <listitem>
|
---|
| 269 | <para>implements the mail spool file lock.</para>
|
---|
| 270 | <indexterm zone="mutt mutt_dotlock">
|
---|
| 271 | <primary sortas="b-mutt_dotlock">mutt_dotlock</primary>
|
---|
| 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
[481b3e8] | 275 |
|
---|
[6b9cfc9] | 276 | <varlistentry id="muttbug">
|
---|
| 277 | <term><command>muttbug</command></term>
|
---|
| 278 | <listitem>
|
---|
| 279 | <para>is a script that executes <command>flea</command>.</para>
|
---|
| 280 | <indexterm zone="mutt muttbug">
|
---|
| 281 | <primary sortas="c-muttbug">muttbug</primary>
|
---|
| 282 | </indexterm>
|
---|
| 283 | </listitem>
|
---|
| 284 | </varlistentry>
|
---|
[481b3e8] | 285 |
|
---|
[2561ad9e] | 286 | <varlistentry id="pgpewrap">
|
---|
| 287 | <term><command>pgpewrap</command></term>
|
---|
| 288 | <listitem>
|
---|
| 289 | <para>prepares a command line for the <xref linkend="gnupg"/>
|
---|
| 290 | utilities.</para>
|
---|
| 291 | <indexterm zone="mutt pgpewrap">
|
---|
| 292 | <primary sortas="c-pgpewrap">pgpewrap</primary>
|
---|
| 293 | </indexterm>
|
---|
| 294 | </listitem>
|
---|
| 295 | </varlistentry>
|
---|
| 296 |
|
---|
| 297 | <varlistentry id="pgpring">
|
---|
| 298 | <term><command>pgpring</command></term>
|
---|
| 299 | <listitem>
|
---|
| 300 | <para>is a key ring dumper for <ulink
|
---|
| 301 | url="http://www.pgp.com/">PGP</ulink>. It is not needed for
|
---|
| 302 | <xref linkend="gnupg"/>.</para>
|
---|
| 303 | <indexterm zone="mutt pgpring">
|
---|
| 304 | <primary sortas="c-pgpring">pgpring</primary>
|
---|
| 305 | </indexterm>
|
---|
| 306 | </listitem>
|
---|
| 307 | </varlistentry>
|
---|
| 308 |
|
---|
| 309 | <varlistentry id="smime_keys">
|
---|
| 310 | <term><command>smime_keys</command></term>
|
---|
| 311 | <listitem>
|
---|
| 312 | <para>manages a keystore for S/MIME certificates.</para>
|
---|
| 313 | <indexterm zone="mutt smime_keys">
|
---|
| 314 | <primary sortas="c-smime_keys">smime_keys</primary>
|
---|
| 315 | </indexterm>
|
---|
| 316 | </listitem>
|
---|
| 317 | </varlistentry>
|
---|
| 318 |
|
---|
[6b9cfc9] | 319 | </variablelist>
|
---|
[481b3e8] | 320 |
|
---|
[6b9cfc9] | 321 | </sect2>
|
---|
[481b3e8] | 322 |
|
---|
[f45b1953] | 323 | </sect1>
|
---|