source: networking/mailnews/mutt.xml@ 45ab6c7

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 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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