# Paths set certificate_file = ~/.mutt/certificates set header_cache = ~/.mutt/cache/headers set message_cachedir = ~/.mutt/cache/bodies # Servers and server options set folder = 'imaps://imap.gmail.com:993' set from = 'tej.ryder@gmail.com' set imap_user = 'tej.ryder@gmail.com' set smtp_url = 'smtp://tej.ryder@smtp.gmail.com:587/' set hostname = 'gmail.com' set realname = 'Tom Ryder' # Credentials set my_password = `pass google.com/tej.ryder@gmail.com/mutt` set imap_pass = $my_password set smtp_pass = $my_password # Intervals set mail_check = 60 set timeout = 300 set imap_keepalive = 300 # Mailboxes set spoolfile = '+INBOX' set postponed = '+[Gmail]/Drafts' unset record # Options set beep = no set beep_new = yes set charset = 'utf-8' set send_charset = 'utf-8' set delete = yes set fast_reply = yes set include = yes set markers = no set move = no set quit = 'ask-yes' set smart_wrap = yes set sort = 'reverse-threads' set sort_aux = 'last-date-received' hdr_order Date From To Cc # Aliases set reverse_name = yes set use_envelope_from = yes alternates 'tej.ryder@gmail.com|tom@sanctum.geek.nz' # Macros macro index,pager e "=[Gmail]/All Mail" "Archive conversation" macro index,pager gi "=INBOX" "Go to Inbox" macro index,pager ga "=[Gmail]/All Mail" "Go to All Mail" macro index,pager gs "=[Gmail]/Starred" "Go to Starred Messages" macro index,pager gd "=[Gmail]/Drafts" "Go to Drafts" macro index,pager gt "=[Gmail]/Sent Mail" "Go to Sent Mail" # Colors color status color84 color22 color normal white black color indicator black white # GPG settings set crypt_verify_sig = yes # Verify all signatures automatically if key available set crypt_replysign = yes # Sign replies to signed messages set crypt_replysignencrypted = yes # Encrypt replies to encrypted messages # GPG commands set pgp_use_gpg_agent = yes set pgp_clearsign_command = "gpg --no-verbose --batch --output - --armor --textmode --clearsign %?a?-u %a? %f" set pgp_decode_command = "gpg %p --no-verbose --batch --output - %f" set pgp_decrypt_command = "gpg --no-verbose --batch --output - %f" set pgp_encrypt_only_command = "/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x77BB8872 -- -r %r -- %f" set pgp_encrypt_sign_command = "/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x77BB8872 -- -r %r -- %f" set pgp_export_command = "gpg --no-verbose --export --armor %r" set pgp_good_sign = "^gpg: Good signature from" set pgp_import_command = "gpg --no-verbose --import -v %f" set pgp_list_pubring_command = "gpg --no-verbose --batch --with-colons --list-keys %r" set pgp_list_secring_command = "gpg --no-verbose --batch --with-colons --list-secret-keys %r" set pgp_sign_command = "gpg --no-verbose --batch --output - --armor --detach-sign --textmode %?a?-u % a? %f" set pgp_verify_command = "gpg --no-verbose --batch --output - --verify %s %f" set pgp_verify_key_command = "gpg --no-verbose --batch --fingerprint --check-sigs %r"