# user@Latitude-D610
#.muttrc for GMAIL
# SETUP - user.name will be your gmail account
# your name - thats you!
# your-password - the is ether your usual password if you DON'T use 2-step
# verication. Otherwise setup an aditional application to access your
# account from gmail / security...some where!
set from="
[email protected]"
set realname="your name"
set imap_user="
[email protected]"
set imap_pass="your-password"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed ="+[Gmail]/Drafts"
set trash = "imaps://imap.gmail.com/[Gmail]/Trash"
# The following directorys must be created in the home/"usersname" directory
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates
set smtp_url = "smtp://
[email protected]:587/"
set smtp_pass = "your-password"
# Add key bindings to view folders within gmail
bind editor <space> noop
macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
macro index gs "<change-folder>=[Gmail]/Sent Mail<enter>" "Go to Sent Mail"
macro index gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
set move = no #Stop asking to "move read messages to mbox"!
set imap_keepalive = 900
# Header stuff
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
ignore *
unignore from: date subject to cc
unignore x-mailing-list: posted-to:
unignore x-mailer:
# improved view
set markers=no # don't put '+' at the beginning of wrapped lines
set pager_index_lines= 5 # how large is the index window?
set sort = 'threads'
set sort_aux = 'last-date-received'
# NOT WORKING YET...
# Address book ;)
set alias_file= ~/.mutt/aliases
set sort_alias= alias
set reverse_alias=yes
#source $alias_file
# Strip headers so only To/CC/Subject & Date shown
ignore *
unignore From: To: Cc: Subject: Date: #Only these are shown in the header
set use_from=yes
set envelope_from="yes"
#The text editor I want to use to write emails
#The default is nano you can change this..
set editor=nano