# your Gmail data set imap_user = "YOUR-GMAIL-ID" set imap_pass = "" # storing passwords in config files is not a good idea. leaving this blank will make Mutt will to you for your password set folder = "imaps://imap.gmail.com:993" set smtp_url = "smtp://YOUR-GMAIL-ID@smtp.gmail.com:587/" set smtp_pass = "" # storing passwords in config files is not a good idea. leaving this blank will make Mutt will to you for your password set from = "YOUR-GMAIL-ID@gmail.com" set realname = "YOUR-REAL-NAME" # connection settings set imap_check_subscribed set mail_check = 60 set imap_keepalive = 300 set timeout = 0 # mailboxes, certificates and signatures set hostname = gmail.com set spoolfile = "+INBOX" set postponed = "~/.mutt/postponed" set record = "~/.mutt/sent" set header_cache = "~/.mutt/cache/headers" set message_cachedir = "~/.mutt/cache/bodies" set certificate_file = "~/.mutt/certificates" set sig_dashes = no set signature = "~/.mutt/signature" # general settings set auto_tag = yes set editor = "vim" set history = 1000 set history_file = ~/.mutt/history set save_history = 1000 set include set move = no set sort = "threads" set sort_aux = "reverse-last-date-received" ignore "Authentication-Results:" ignore "DomainKey-Signature:" ignore "DKIM-Signature:" hdr_order Date From To Cc Bcc my_hdr X-Disclaimer: Sent from my Mutt my_hdr X-GPG-Key-Server: http://pgp.mit.edu my_hdr X-GPG-Key-FingerPrint: # use 'gpg --fingerprint key-id' to put your fingerprint here bind editor complete-query bind editor ^T complete bind editor noop # handling attachments alternative_order text/plain text/html * auto_view text/html set implicit_autoview = yes set mailcap_path = "~/.mutt/mailcap" # GPG set pgp_decode_command="/opt/local/bin/gpg %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" set pgp_verify_command="/opt/local/bin/gpg --no-verbose --quiet --batch --output - --verify %s %f" set pgp_decrypt_command="/opt/local/bin/gpg --passphrase-fd 0 --no-verbose --quiet --batch --output - %f" set pgp_sign_command="/opt/local/bin/gpg --no-verbose --batch --quiet --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" set pgp_clearsign_command="/opt/local/bin/gpg --no-verbose --batch --quiet --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" set pgp_encrypt_only_command="pgpewrap /opt/local/bin/gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" set pgp_encrypt_sign_command="pgpewrap /opt/local/bin/gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" set pgp_import_command="/opt/local/bin/gpg --no-verbose --import -v %f" set pgp_export_command="/opt/local/bin/gpg --no-verbose --export --armor %r" set pgp_verify_key_command="/opt/local/bin/gpg --verbose --batch --fingerprint --check-sigs %r" set pgp_list_pubring_command="/opt/local/bin/gpg --no-verbose --batch --quiet --with-colons --list-keys %r" set pgp_list_secring_command="/opt/local/bin/gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r" set pgp_autosign = yes set pgp_sign_as = 0x # put your public key-id here set pgp_autoencrypt = yes # macroses macro attach W /Users/s/Desktop/y "save attachements" macro index,pager c "" "compose a new mail" macro index,pager gi "=INBOX" "go to inbox" macro index,pager ga "=[Gmail]/All Mail" "go to all mail" macro index,pager gd "=[Gmail]/Drafts" "go to drafts" macro index,pager gt "=[Gmail]/Sent Mail" "go to sent mail" macro index,pager gs "=[Gmail]/Starred" "go to starred messages" macro index,pager gl "?/" "go to label..." macro index,pager go "" "go to..."