Skip to content

Instantly share code, notes, and snippets.

@thraxil
Created February 20, 2014 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thraxil/9116714 to your computer and use it in GitHub Desktop.
Save thraxil/9116714 to your computer and use it in GitHub Desktop.
mutt config for Columbia Lionmail
set from = "YOURUNI@columbia.edu"
set realname = "YOUR NAME"
set imap_user = "YOURUNI@columbia.edu"
set imap_pass = "YOURDEVICEPASSWORD"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed ="+[Google Mail]/Drafts"
set trash = "+[Google Mail]/Trash"
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates
set smtp_url = "smtp://YOURUNI@columbia.edu@smtp.gmail.com:587/"
set smtp_pass = "YOURDEVICEPASSWORD" # use the same password as for IMAP
set move = no # Stop asking to "move read messages to mbox"!
set imap_keepalive = 900
set nomark_old
set date_format="%Y-%m-%d %H:%M:%S %z" # dates ISO-8601 format
set nomarkers
set smart_wrap
set record="=sent-mail-`date +%b-%Y`"
set copy
set sendmail_wait=-1
set forward_format="Fwd: %s"
set forward_quote="no"
set mime_forward=ask-yes
set fast_reply
set include=yes
set reply_to = yes
set beep = no
set beep_new = yes
set check_new = yes
set mail_check = 600
set delete = yes
set editor = "emacs -nw -l ~/.emacs-mutt"
set edit_headers
set pager_index_lines=5
color header black yellow (subject:)
color header black cyan (from:)
color indicator white blue
color status red white
color index brightred default ~N
# Headers to ignore
ignore *
unignore date from to cc subject x-mailer resent-from reply-to bcc x-spam-score
unhdr_order * # reset header order
hdr_order Subject: From: To: Cc: Bcc: X-Mailer: Date:
auto_view text/html
bind alias ' ' next-page
bind alias - previous-page
bind alias . enter-command
bind alias : tag-entry
bind alias n next-entry
bind alias p previous-entry
bind alias w search
bind alias x tag-entry
bind browser ' ' next-page
bind browser - previous-page
macro browser c "qc" # Compose a message
bind browser g select-new
bind browser i exit
bind browser n next-entry
bind browser p previous-entry
bind index $ sort-mailbox
bind index ' ' next-page
bind index * set-flag
bind index + clear-flag
bind index , tag-subthread
bind index - previous-page
bind index . enter-command
bind index : tag-entry
bind index <down> next-entry
bind index <up> previous-entry
bind index L limit
bind index N next-unread
bind index R group-reply
macro index W "w\Cu~B " # Search in the whole content of any message
bind index \; tag-pattern
bind index \Cr list-reply
bind index a tag-prefix
bind index c mail
bind index d delete-message
bind index g change-folder
macro index l "g?"
bind index n next-entry
bind index p previous-entry
bind index t create-alias
bind index u undelete-message
bind index v display-message
bind index w search
bind index x sync-mailbox
bind index y print-message
bind index r reply
bind attach . enter-command
bind attach : tag-entry
bind attach R group-reply
bind attach \Cr list-reply
bind attach a tag-prefix
macro attach c "qic"
macro attach g "qg"
bind pager ' ' next-page
bind pager r reply
macro pager * "i*"
macro pager + "i+"
macro pager , "i,v"
bind pager . enter-command
bind pager : tag-message
bind pager <down> next-line
bind pager <up> previous-line
bind pager N next-unread
bind pager Q exit
bind pager R group-reply
macro pager W "iW" # Search in the whole content of any message
macro pager \; "i;"
bind pager \Cr list-reply
macro pager a "ia"
macro pager b "Qb"
macro pager c "Qc"
bind pager d delete-message
bind pager g change-folder
#macro pager j "1<backspace>"
macro pager l "g?"
bind pager n next-entry
bind pager p previous-entry
bind pager q quit
bind pager t create-alias
bind pager u undelete-message
bind pager w search
bind pager y print-message
bind compose . enter-command
bind compose : tag-entry
bind compose D edit-description
bind compose \Cj attach-file
bind compose \Co postpone-message
bind compose \Cr edit-headers
bind compose \Cx send-message
bind compose a tag-prefix
bind compose d detach-file
bind compose e edit-file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment