Contents |
Mutt is a console based mail client for UNIX systems.
Compile mutt-devel with the following options
# etc/pkgtools.conf 'mail/mutt-devel' => 'WITH_MUTT_MAILDIR_HEADER_CACHE=yes WITH_MUTT_SIDEBAR_PATCH=yes WITH_MUTT_GPGME=yes',
Use random fortune signature.
folder-hook . 'set signature=fortune|'
macro index S "|/usr/local/bin/razor-report" macro index X "| spamassassin -r"
color normal default default color hdrdefault brightwhite default color quoted brightcyan default color signature red default color indicator black brightwhite color error brightred default color status brightwhite blue color tree white default # the thread tree in the index menu color tilde magenta default color message brightcyan default color markers brightcyan default color attachment brightmagenta default color search default green # how to hilite search patterns in the pager color body magenta default "(ftp|http)://[^ ]+" # point out URLs color body magenta default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses color underline brightgreen default color index cyan default '~N' # Hightlight new mails
GPG is a little tricky to setup. Install GnuPG from ports and generate your keys
[buffy] ~> gpg2 --list-keys mail@shankerbalan.net Warning: using insecure memory! pub 1024D/4150573D 2008-07-06 uid Shanker Balan (Personal Use) <mail@shankerbalan.net> sub 2048g/A1F15114 2008-07-06
source ~/.mutt/gpg.rc # PGP set crypt_autosign=yes set pgp_sign_as=0x4150573D
With crypt_autosign=yes set, you need to key in your passphrase each time you send a mail.
There are multiple ways to view MS .doc files under Mutt. AntiWord and Catdoc are two common applications to use. To have Mutt use either of these to view .doc files inline, update $HOME/.mailcap file as below:
application/msword; antiword %s; copiousoutput
application/msword; catdoc %s; copiousoutput