From charlesreid1

No edit summary
Line 3: Line 3:
==Prereqs==
==Prereqs==


If you want [[Gpg]] integrated into Mutt, you have to install Gpg first. It is a bit of a pain in the arse to install from source due to 5 dependencies, but you can get a binary or install it via [[Fink]]. Then you have to install [[Gpgme]], which is, I guess, an interface to GPG that Mutt can use.
==Configure==


To install either of those, see the respective articles.  
Required programs: [[OpenSSL]] is required to use Mutt with any secure connection. That's required by most mail servers, so you'll want this installed.


==Configure==
Optional programs: [[Gpg]] and [[Gpgme]] are both optional for sending encrypted emails.  It is a bit of a pain in the arse to install from source due to 5 dependencies, but you can get a binary, or install it via [[Fink]]. Then you have to install [[Gpgme]], which is, I guess, an interface to GPG that Mutt can use.


===With GPG===
For instructions on installing any of this stuff, see the respective articles.


To configure mutt with GPG from source:
To configure mutt:


<source lang="bash">
<source lang="bash">
Line 18: Line 18:
./configure \
./configure \
   --prefix=${HOME}/pkg/mutt/1.5.21 \
   --prefix=${HOME}/pkg/mutt/1.5.21 \
  \
  --enable-gpgme \
  --with-gpgme-prefix=${HOME}/pkg/gpgme/std \
  --disable-pgp  \
   \
   \
   --enable-pop  \
   --enable-pop  \
Line 29: Line 25:




===Without GPG===
To configure mutt with GPG from source, add


To configure mutt without GPG:
<pre>
--enable-gpgme \
--with-gpgme-prefix=${HOME}/pkg/gpgme/std \
--disable-pgp  \
</pre>


<source lang="bash">
after installing [[Gpgme]].
#!/bin/sh
 
./configure \
  --prefix=${HOME}/pkg/mutt/1.5.21 \
  \
  --enable-pop  \
  --enable-imap  \
  --enable-smtp  \
</source>




Line 54: Line 45:


You can check what groups you are in by running the "groups" command. If you are not in the mail group after running the command, try logging out and back in.  When I tried this procedure on Leopard (OS X 10.5), I had to log out and back in to be part of the mail group. However, I didn't need to log out on Snow Leopard (OS X 10.6).
You can check what groups you are in by running the "groups" command. If you are not in the mail group after running the command, try logging out and back in.  When I tried this procedure on Leopard (OS X 10.5), I had to log out and back in to be part of the mail group. However, I didn't need to log out on Snow Leopard (OS X 10.6).
=Using=
==.muttrc file==
'''The Mutt Wiki Mutt Guide''' (great reference!)
* http://wiki.mutt.org/index.cgi?MuttGuide
This page has a lot of really helpful information for accessing your Gmail account in Mutt:
* http://crunchbanglinux.org/wiki/howto/howto_setup_mutt_with_gmail_imap
This page has a lot of really useful info (Gentoo wiki always does):
* http://www.gentoo.org/doc/en/guide-to-mutt.xml
Guide to opening links in Mutt:
* http://mutt.blackfish.org.uk/following-links/
=See Also=
* [[Mailman]]
* [[GPG]] and [[Gpgme]]
* [[OpenSSL]]





Revision as of 04:27, 8 November 2011

Installing

Prereqs

Configure

Required programs: OpenSSL is required to use Mutt with any secure connection. That's required by most mail servers, so you'll want this installed.

Optional programs: Gpg and Gpgme are both optional for sending encrypted emails. It is a bit of a pain in the arse to install from source due to 5 dependencies, but you can get a binary, or install it via Fink. Then you have to install Gpgme, which is, I guess, an interface to GPG that Mutt can use.

For instructions on installing any of this stuff, see the respective articles.

To configure mutt:

#!/bin/sh

./configure \
  --prefix=${HOME}/pkg/mutt/1.5.21 \
  \
  --enable-pop   \
  --enable-imap  \
  --enable-smtp  \


To configure mutt with GPG from source, add

--enable-gpgme \
--with-gpgme-prefix=${HOME}/pkg/gpgme/std \
--disable-pgp  \

after installing Gpgme.


Adding Yourself to Mail Group

I had to add myself to the mail group, too. To do this on a mac:

sudo dseditgroup -o edit -a username -t user mail

You can check what groups you are in by running the "groups" command. If you are not in the mail group after running the command, try logging out and back in. When I tried this procedure on Leopard (OS X 10.5), I had to log out and back in to be part of the mail group. However, I didn't need to log out on Snow Leopard (OS X 10.6).


Using

.muttrc file

The Mutt Wiki Mutt Guide (great reference!)

This page has a lot of really helpful information for accessing your Gmail account in Mutt:

This page has a lot of really useful info (Gentoo wiki always does):

Guide to opening links in Mutt:


See Also