<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE>Mutt-i, GnuPG and PGP Howto: Mutt configuration</TITLE> <LINK HREF="Mutt-GnuPG-PGP-HOWTO-5.html" REL=next> <LINK HREF="Mutt-GnuPG-PGP-HOWTO-3.html" REL=previous> <LINK HREF="Mutt-GnuPG-PGP-HOWTO.html#toc4" REL=contents> </HEAD> <BODY> <A HREF="Mutt-GnuPG-PGP-HOWTO-5.html">Next</A> <A HREF="Mutt-GnuPG-PGP-HOWTO-3.html">Previous</A> <A HREF="Mutt-GnuPG-PGP-HOWTO.html#toc4">Contents</A> <HR> <H2><A NAME="s4">4. Mutt configuration</A></H2> <P>Next file is a valid example to start using <EM>Mutt</EM> in a basic way, including paths for alias file, sent messages and postponed messages. You can further personalize it attending to the <EM>Mutt</EM> manual indications and <CODE>/usr/doc/mutt/</CODE> or <CODE>/usr/doc/mutt-i/</CODE>. <P>Simple example of <CODE>~/.muttrc</CODE>: <P> <BLOCKQUOTE><CODE> <PRE> set folder=~/Mail set alias_file=.alias set postponed=.postponed set record=SendMessages set signature=.signature my_hdr From: Name Surname <Name@domain.com> source =.alias </PRE> </CODE></BLOCKQUOTE> <P>It is necesary that the directory <CODE>~/Mail</CODE> exists, that is the one that appears as an "equal to" sign in the configuration file <CODE>.muttrc</CODE> (that is, <CODE>=.alias</CODE> is to <EM>Mutt</EM> as <CODE>~/Mail/.alias</CODE>, and <CODE>=.postponed</CODE> is to <EM>Mutt</EM> <CODE>~/Mail/.postponed</CODE>). Nevertheless it is possible to have these files in another directory provided we indicate the complete path in <CODE>~/.muttrc</CODE>, and we have the necesary permissions to work in this directory. <P>It is also necesary to personalize the <CODE>my_hdr</CODE> line with the name and electronic mail address you need. In the <CODE>~/Mail/.signature</CODE> file you caninclude the signature that will appear in all the messages that are sent. <P>This configuration file can end up being made very big, so it is common to separate some of its commands in different files. For the time being, the <EM>PGP</EM> or <EM>GnuPG</EM> configuration lines are easily detachable, and the keyboard macros that we will personalize. To do that, it will be necesary to add the following lines to the <CODE>~/.muttrc</CODE> file: <P> <BLOCKQUOTE><CODE> <PRE> source = ~/Mail/.mutt.macros source = ~/Mail/.gnupgp.mutt </PRE> </CODE></BLOCKQUOTE> <P>and to use the <CODE>~/Mail/.mutt.macros</CODE> and <CODE>~/Mail/.gnupgp.mutt</CODE> files to put in them the keyboard macros and the <EM>PGP</EM> or <EM>GnuPG</EM> configuration that are commented forward. <P>To get a more extensive and complete information over the use and configuration of <EM>Mutt</EM>, and about advanced features, see the Mutt manual <A HREF="http://www.mutt.org">http://www.mutt.org</A>. <P> <HR> <A HREF="Mutt-GnuPG-PGP-HOWTO-5.html">Next</A> <A HREF="Mutt-GnuPG-PGP-HOWTO-3.html">Previous</A> <A HREF="Mutt-GnuPG-PGP-HOWTO.html#toc4">Contents</A> </BODY> </HTML>