This is my (JohnMcPherson's) mutt rc file.
set editor="emacs -nw" set visual="emacs -nw"
- use internal pager - get colours!
- but use less, we can get proper charset stuff
set pager="less"
- my terminal's default charset
set charset="utf-8" set sort=reverse-date
- path to sendmail for outgoing mail
set sendmail="/usr/sbin/sendmail -oem -oi"
- Save sent mail
- set record="/Mail/mutt_Sent"
my_hdr Bcc: my@email.address
- don't show Bcc field to recipients!
set write_bcc="no" set from="\"My Name\" <my@email.address>"
- save-hook .*From:.* =sent
- run a script to choose a random sig
set signature="/bin/scripts/getsig.pl|"
- IMAP SETTINGS ####
- for imap rechecking
set timeout=60 set imap_user="myusername" set mail_check=30
- versions at uni don't have ssl support compiled in...
- set spoolfile={imap.cs.waikato.ac.nz/ssl}
- set folder={imap.cs.waikato.ac.nz/ssl}
- mailboxes {imap.cs.waikato.ac.nz/ssl}
- make mutt use my imap account as default
set spoolfile={imap.cs.waikato.ac.nz} set folder={imap.cs.waikato.ac.nz} mailboxes {imap.cs.waikato.ac.nz}
- #
- COLOUR SETTINGS ####
- - default, and color<n> are special
- color <obj> bright?<foreground> <background>
- I've never actually managed to get these to work - John
- color "body" green black e
- color header yellow yellow e
- color "signature" green color2
- color bold green green
- color quoted green default
- color signature red default
- Indicator is the currently selected message ##
- color indicator brightyellow red
color indicator red white
#
- color error brightred default
- color error brightred white
- GPG SETTINGS ####
- doesn't seem to work... hmm...
- set pgp_good_sign="(Good signature)"
#
- automatically check messages
set pgp_verify_sig=yes set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - --decrypt %f" set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - --decrypt %f" set pgp_encrypt_only_command="gpg -v --batch -o - --encrypt --textmode --armor --always-trust -r %r %f"
- doesn't work - mutt turns %r into email address instead of key...
- set pgp_getkeys_command="gpg --keyserver the.earth.li --recv-key %r"
- read in the public key ring
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
- export a key from the public key ring
set pgp_export_command="gpg --no-verbose --export --armor %r"
4 pages link to .muttrc: