Penguin
Note: You are viewing an old revision of this page. View the current version.

This is my (JohnMcPherson's) mutt rc file.

  1. ### GENERAL SETTINGS ####

set editor="emacs -nw" set visual="emacs -nw"

  1. use internal pager - get colours!
  2. but use less, we can get proper charset stuff

set pager="less"

  1. my terminal's default charset

set charset="utf-8" set sort=reverse-date

  1. path to sendmail for outgoing mail

set sendmail="/usr/sbin/sendmail -oem -oi"

  1. Save sent mail
  2. set record="/Mail/mutt_Sent"

my_hdr Bcc: my@email.address

  1. don't show Bcc field to recipients!

set write_bcc="no" set from="\"My Name\" <my@email.address>"

  1. save-hook .*From:.* =sent
  2. run a script to choose a random sig

set signature="/bin/scripts/getsig.pl|"

        1. IMAP SETTINGS ####
  1. for imap rechecking

set timeout=60 set imap_user="myusername" set mail_check=30

  1. versions at uni don't have ssl support compiled in...
  2. set spoolfile={imap.cs.waikato.ac.nz/ssl}
  3. set folder={imap.cs.waikato.ac.nz/ssl}
  4. mailboxes {imap.cs.waikato.ac.nz/ssl}
  5. 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}

      1. #
        1. COLOUR SETTINGS ####
  1. - default, and color<n> are special
  2. color <obj> [bright?<foreground> <background>
      1. I've never actually managed to get these to work - John
  3. color "body" green black e
  4. color header yellow yellow e
  5. color "signature" green color2
  6. color bold green green
  7. color quoted green default
  8. color signature red default
    1. Indicator is the currently selected message ##
  9. color indicator brightyellow red

color indicator red white

#

  1. color error brightred default
      1. color error brightred white
        1. GPG SETTINGS ####
  2. doesn't seem to work... hmm...
  3. set pgp_good_sign="(Good signature)"

#

  1. 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"

  1. doesn't work - mutt turns %r into email address instead of key...
  2. set pgp_getkeys_command="gpg --keyserver the.earth.li --recv-key %r"
  3. read in the public key ring

set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"

  1. export a key from the public key ring

set pgp_export_command="gpg --no-verbose --export --armor %r"