Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # .muttrc file - Modified by Suresh Ramasubramanian's
- ignore *
- unignore From To Cc Bcc Subject Date Reply-To Organization X-Mailer User-Agent
- hdr_order From: Date: To: Cc: Subject:
- # Header caching
- set header_cache=~/.hcache
- set postponed="+Drafts"
- set record="+Sent"
- set mbox="+Archived"
- set trash="+Trash"
- # Base hook to reset account variables to known state before activating new ones
- account-hook . 'unset preconnect imap_user imap_pass imap_authenticators; set ssl_starttls=ask-yes'
- macro generic <esc>1 cimaps://mail.maggi.cc/ "Load profile: default"
- account-hook imaps://personal.bar.com/ 'set imap_user=personal imap_pass=**'
- folder-hook imaps://personal.bar.com/ 'source $HOME/.mutt/profiles/default'
- macro generic <esc>2 cimaps://mail.elet.polimi.it/ "Load profile: academic"
- account-hook imaps://foo.bar.edu/ 'set imap_user=academic imap_pass=** imap_authenticators="digest-md5:login"'
- folder-hook imaps://foo.bar.edu/ 'source $HOME/.mutt/profiles/academic'
- # Automatically begin editing messages
- set autoedit=yes
- # IMAP settings
- set mail_check=90
- set timeout=15
- set edit_headers
- # Append messages to other mailboxes automatically
- unset confirmappend
- # Automatically delete messages
- set delete=yes
- # View html mails using lynx
- set implicit_autoview
- auto_view text/html application/x-pgp-message
- set mailcap_path="~/.mailcap"
- set mailcap_sanitize=yes
- # envelope sender must match
- set envelope_from
- # Reply FASTER!
- #set fast_reply
- # Don't save outgoing attachments
- unset fcc_attach
- # Dont include self in reply
- unset reply_self
- # Include full headers in replies
- # set header
- #set hostname - if not machine name (uname -a)
- #will be used for - among other things - making
- #up message-ids
- set hostname="lap-fmaggi.elet.polimi.it"
- # Automatically quote message
- set include=yes
- # Set quotemark to 1 byte
- set indent_str="> "
- set index_format = "%4C %Z %{%b %d} %-15.15F (%4l) %s"
- set forward_format="Fw: %s" # subject in forwarded messages
- set date_format="%d/%m/%y %H:%M %Z"
- set quote_regexp="^([A-Za-z ]+>|[]%>:|}-][]>:|}-]*)"
- #set reply_regexp="^(re([\\[0-9\\]+])*|aw):[ \t]*"
- set reply_regexp='^((re(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*'
- set mime_forward=ask-yes
- set edit_headers
- # Use vim as the editor - this line will wrap
- # Set wordwrap on in vim to automatically wrap lines -
- # no :gq all the time
- set editor="vim +':set textwidth=77' +':set wrap' +\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s"
- #set visual=vim # editor invoked by ~v in the builtin editor
- # set format=flowed
- set text_flowed
- # dont mark messages old
- set nomark_old
- # I don't want to resume postponed messages
- #set recall=no
- # Don't confirm using Reply-To: headers
- set reply_to=yes
- # Delete empty mailboxes
- unset save_empty
- # Use as from the address mail was sent to
- # You'd have to define $alternates for this
- # set reverse_name
- # Set my web browser
- #set web_browser="lynx %s"
- # Apply operations to tagged messages automatically
- #set auto_tag
- folder-hook . set sort=threads
- # Ignore annoying MAIL SYSTEM INTERNAL DATA message
- # generated by c-client (pine / uw-imapd)
- folder-hook . "push \"l!(~s 'FOLDER INTERNAL DATA')\n*\""
- # Don't ask to move read messages to mbox on exit
- set move=no
- ###
- # Bindings - change key bindings
- ###
- # Customize the pager
- bind pager down next-page
- bind pager up previous-page
- bind pager d delete-message
- bind index d delete-message
- # dual window view in mutt
- set pager_index_lines=15
- # Similar settings for the index
- bind index up previous-line
- bind index down next-line
- # imitate the old search-body function
- macro index \eb '/~b ' 'search in message bodies'
- # simluate the old url menu
- macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
- macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
- # Set and source our alias file
- #set alias_file=~/.mutt-aliases
- #source ~/.mutt-aliases
- # Theming
- source $HOME/.mutt/themes/ilgufo
Add Comment
Please, Sign In to add comment