Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
195 lines (168 sloc) 7.21 KB
##account settings
Account Information in other file
source ~/.mutt_accounts
# Gmail for mutt
set folder = "imaps://"
set spoolfile = "imaps://"
#set spoolfile = "+INBOX"
set postponed = "imaps://[Gmail]/Drafts"
set trash = "imaps://[Gmail]/Trash"
set record = "+[Gmail]/Sent Mail"
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 header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
#set certificate_file =~/.mutt/certificates
set pager_index_lines=16
set pager_context=4
#set spoolfile=~/.mailspool/alex
set signature="~/.sig"
set move = no #Stop asking to "move read messages to mbox"!
set imap_keepalive = 600
# Header related 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:
# Sorting, Markers etc.
set markers=no # don't put '+' at the beginning of wrapped lines
set pager_index_lines= 10 # how large is the index window?
set sort = threads
set sort_aux = last-date-received
bind editor <space> noop
# Set which Editor to use for composing Emails.
set editor= '/usr/bin/vim'
# Remap bounce-message function to "B"
bind index B bounce-message
# .mailcap has viewing program for html
# HTML is the last option.
alternative_order text/enriched text/plain text/html
auto_view text/html
# No one needs to know my host
set hidden_host
#make mutt colorful!
color attachment brightmagenta default
color error brightred default
color hdrdefault red default
color indicator brightyellow red
color markers brightcyan default
color message brightcyan default
color normal default default
color quoted brightblue default
color search default green
color signature red default
color status yellow blue
color tilde magenta default
color tree magenta default
# Imported colors
color quoted red black
color signature white black
color indicator brightwhite red
color attachment black green
color error red black
color message magenta black
#color search brightwhite magenta
color status brightyellow blue
color tree red black
color normal green black
color tilde magenta black
color bold brightyellow black
color underline magenta black
color markers red black
color header brightwhite black "^(From|Subject|Reply-To):"
color header red cyan "^X-Junked-Because:"
color hdrdefault blue black
color index brightblue white ~N
color index red white ~F
color index black green ~T
color index brightwhite black ~D
color body brightblue white "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
color body brightblue white "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
color body brightblue white "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
color body brightgreen white "<[Gg]>" # <g>
color body brightgreen white "<[Bb][Gg]>" # <bg>
color body brightgreen white " [;:]-*[)>(<|]" # :-) etc...
## ==================================================
## Colorizing the body of messages (ie in the pager)
## ==================================================
color normal white default # pager body
# Coloring quoted text - coloring the first 7 levels:
color quoted cyan default
color quoted1 yellow default
color quoted2 red default
color quoted3 green default
color quoted4 cyan default
color quoted5 yellow default
color quoted6 red default
color quoted7 green default
color signature brightred default
color status white blue
color tilde blue default
color tree brightmagenta default
color underline yellow default
color body yellow default "[;:]-[)/(|]" # colorise smileys
color body yellow default "[;:][)/(|]"
#color body brightblue default "(http|https|ftp|news|telnet|finger)://[^ ]*"
color body brightblue default "\\b[^ ]+://[^ ]*"
color index yellow default ~N # New
color index yellow default ~O # Old
color index cyan default '~s gilbertt ~f enlightenment-cvs'
color index brightgreen default '~p' # mail to myself
color index brightcyan default '~P' # mail from myself
color index magenta default ~F # Flagged
color index blue default ~T # Tagged
color index red default ~D # Deleted
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x3FEB79D1 -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x3FEB79D1 -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
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_autosign=yes
set pgp_sign_as=0x3FEB79D1
set pgp_replyencrypt=yes
set pgp_timeout=1800
set pgp_good_sign="^gpg: Good signature from"
#set pgp_use_gpg_agent=yes
source ~/.mutt_aliases
# set up the sidebar, default not visible
set sidebar_width=12
set sidebar_visible=yes
# which mailboxes to list in the sidebar
mailboxes =inbox =ml
# color of folders with new mail
color sidebar_new yellow default
# ctrl-n, ctrl-p to select next, prev folder
# ctrl-o to open selected folder
bind index \CP sidebar-prev
bind index \CN sidebar-next
bind index \CO sidebar-open
bind pager \CP sidebar-prev
bind pager \CN sidebar-next
bind pager \CO sidebar-open
# I don't need these. just for documentation purposes. See below.
# sidebar-scroll-up
# sidebar-scroll-down
# b toggles sidebar visibility
#macro index b '<enter-command>toggle sidebar_visible<enter>'
#macro pager b '<enter-command>toggle sidebar_visible<enter>'
# Remap bounce-message function to "B"
bind index B bounce-message
# Mario Holbe suggests:
macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'