From charlesreid1

Revision as of 17:18, 3 November 2011 by Admin (talk | contribs) (→‎Configure)

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