From charlesreid1

No edit summary
Line 9: Line 9:
==Configure==
==Configure==


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


<source lang="bash">
<source lang="bash">
Line 24: Line 26:
   --enable-imap  \
   --enable-imap  \
   --enable-smtp  \
   --enable-smtp  \
</source>


===Without GPG===


To configure mutt without GPG:
<source lang="bash">
#!/bin/sh
./configure \
  --prefix=${HOME}/pkg/mutt/1.5.21 \
  \
  --enable-pop  \
  --enable-imap  \
  --enable-smtp  \
</source>
</source>




===Adding Yourself to Mail Group===


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

Revision as of 17:18, 3 November 2011

Installing

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.

To install either of those, see the respective articles.

Configure

With GPG

To configure mutt with GPG from source:

#!/bin/sh

./configure \
  --prefix=${HOME}/pkg/mutt/1.5.21 \
  \
  --enable-gpgme \
  --with-gpgme-prefix=${HOME}/pkg/gpgme/std \
  --disable-pgp  \
  \
  --enable-pop   \
  --enable-imap  \
  --enable-smtp  \


Without GPG

To configure mutt without GPG:

#!/bin/sh

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


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