Mutt: Difference between revisions
From charlesreid1
| Line 52: | Line 52: | ||
sudo dseditgroup -o edit -a username -t user mail | sudo dseditgroup -o edit -a username -t user mail | ||
</pre> | </pre> | ||
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). | |||
[[Category:Programs]] | [[Category:Programs]] | ||
[[Category:Unix]] | [[Category:Unix]] | ||
Revision as of 03:50, 4 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
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).