Mutt: Difference between revisions
From charlesreid1
No edit summary |
|||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
See also: http://blog.trevorbramble.com/past/2011/6/5/transitioning_to_mutt_and_vim/ | |||
=Installing= | =Installing= | ||
==Prereqs== | ==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 | To configure mutt: | ||
<source lang="bash"> | <source lang="bash"> | ||
| Line 19: | Line 21: | ||
--prefix=${HOME}/pkg/mutt/1.5.21 \ | --prefix=${HOME}/pkg/mutt/1.5.21 \ | ||
\ | \ | ||
--with-ssl=${HOME}/pkg/openssl/std | |||
--with- | |||
\ | \ | ||
--enable-pop \ | --enable-pop \ | ||
| Line 29: | Line 29: | ||
To configure mutt with GPG from source, add | |||
<pre> | |||
--enable-gpgme \ | |||
--with-gpgme-prefix=${HOME}/pkg/gpgme/std \ | |||
--disable-pgp \ | |||
</pre> | |||
. | after installing [[Gpgme]]. | ||
| Line 50: | Line 45: | ||
<pre> | <pre> | ||
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). | |||
=Using= | |||
==.muttrc file== | |||
The references listed below gave me an excellent start with my .muttrc file, particularly http://crunchbanglinux.org/wiki/howto/howto_setup_mutt_with_gmail_imap | |||
I basically just used pieces I liked from each link. | |||
=References= | |||
'''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]] | |||
[[Category:Programs]] | [[Category:Programs]] | ||
[[Category:Unix]] | [[Category:Unix]] | ||
Latest revision as of 23:55, 12 June 2013
See also: http://blog.trevorbramble.com/past/2011/6/5/transitioning_to_mutt_and_vim/
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 \
\
--with-ssl=${HOME}/pkg/openssl/std
\
--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 references listed below gave me an excellent start with my .muttrc file, particularly http://crunchbanglinux.org/wiki/howto/howto_setup_mutt_with_gmail_imap
I basically just used pieces I liked from each link.
References
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: