# Ademar's muttrc file # ######################################### ## EDIT IT TO SET YOUR PREFERENCES ## http://www.ademar.org/ ######################################### #set smtp_url="smtp://USERNAME@openbossa.org@smtp.gmail.com:587" set smtp_url="smtp://USERNAME@smtp.gmail.com:587" set mbox_type=Maildir set folder="~/mail" macro index C "?" "copy a message to a mailbox" macro index M "?" "move a message to a mailbox" macro compose A "?" "attach message(s) to this message" # Note: $folder should be set _before_ any other path vars where `+' or `=' # is used because paths are expanded when parsed source ~/.mutt/mailboxes.rc unmailboxes =openbossa/[Gmail].Drafts \ =openbossa/[Gmail].Sent\ Mail \ =openbossa/[Gmail].All\ Mail \ =openbossa/[Gmail].Spam \ =openbossa/[Gmail].Starred \ =openbossa/[Gmail].Trash \ =gmail/[Gmail].Drafts \ =gmail/[Gmail].Sent\ Mail \ =gmail/[Gmail].All\ Mail \ =gmail/[Gmail].Spam \ =gmail/[Gmail].Starred \ =gmail/[Gmail].Trash \ =gmail/canada-list \ =gmail/hugin \ =gmail/web-svn set copy=no # gmail's smtp already records sent-mails unset record # openbossa is open by default set spoolfile=+openbossa/INBOX set from="USERNAME@openbossa.org" set postponed="=openbossa/[Gmail].Drafts" macro index,pager S "=openbossa/[Gmail].Spam" set signature=~/.signature-openbossa # hooks to cycle between different accounts folder-hook =openbossa.* set from="USERNAME@openbossa.org" folder-hook =openbossa.* set postponed="=openbossa/[Gmail].Drafts" folder-hook =openbossa.* macro index,pager S "=openbossa/[Gmail].Spam" folder-hook =openbossa.* set signature=~/.signature-openbossa folder-hook =gmail.* set from="USERNAME@gmail.com" folder-hook =gmail.* set postponed="=gmail/[Gmail].Drafts" folder-hook =gmail.* macro index,pager S "=gmail/[Gmail].Spam" folder-hook =gmail.* set signature=~/.signature-personal set realname="My real name" alternates "USERNAME@gmail.com,USERNAME@openbossa.org" set certificate_file="~/.mutt/certificates" set move="no" set timeout=60 set ssl_starttls="yes" set pgp_create_traditional="yes" set mailcap_path="~/.mailcap:/etc/mailcap" set alias_file="~/.mutt/mutt_alias" source ~/.mutt/mutt_alias set beep_new set check_new set help # show the help lines set editor="vim '+1'" # editor to use when composing messages set print_command="/usr/bin/enscript -2GrE" set shell=/bin/bash set charset=utf-8 set locale=pt_BR set allow_8bit set edit_headers # let me edit the message header when composing set hdrs # include `my_hdr' lines in outgoing messages set autoedit # go to the editor right away when composing set pager_index_lines=6 # how many index lines to show in the pager set attribution="On %d, %n wrote:" # how to attribute replies set indent_string="> " set abort_nosubject=yes set fcc_attach # keep attachments in copies of sent messages? set mime_forward=no # use message/rfc822 type to forward messages unset metoo # remove my address when replying set reply_to # always use reply-to if present #set fast_reply # skip initial prompts when replying unset fast_reply set include # always include messages when replying set reverse_name # use my address as it appears in the message # i am replying to set sort=threads # primary sorting method set sort_aux=date-received # secondary sorting method (inside threads) set sort_browser=reverse-date # how to sort files in the dir browser # This is a smiley: :-) This is how to identify them: set smileys="(>From )|(:[-^]?[][)(><}{|/DP])" #set envelope_from=yes set rfc2047_parameters #set forward_quote set noconfirmappend # don't ask me if i want to append to mailboxes #set sendmail="/usr/lib/sendmail -oi -oem" # how to deliver mail #set abort_unmodified=yes # automatically abort replies if I don't # change the message #set arrow_cursor # use -> instead of hiliting the whole line #set ascii_chars # use ASCII instead of ACS chars for threads #set askbcc #set askcc #set auto_tag # always operate on tagged messages #set confirmcreate # prompt when creating new files #set force_name # fcc by recipient, create if mailbox doesn't exist #set forward_decode # weed and MIME decode forwaded messages #set forward_format="[%a: %s]" # subject to use when forwarding messages #set forward_quote # quote the header and body of forward msgs #set hdr_format="%4C %Z %{%m/%d} [%2N] %-15.15F (%4c) %s" set hdr_format="%4C %Z %{%m/%d} %-15.15F (%4c) %s" # format of the index #set header # include message header when replying #set history=20 # number of lines of history to remember #set indent_string="> " # how to quote replied text #set locale="C" # locale to use for printing time set nomark_old # i don't care about whether a message is old set menu_scroll # no implicit next-page/prev-page #set pager=less # some people prefer an external pager #set pager_context=3 # no. of lines of context to give when scrolling #set pager_format="-%S- %-20.20f %s" # format of the pager status bar #set pager_stop # don't move to the next message on next-page #set pgp_strict_enc # use Q-P encoding when needed for PGP #set post_indent_string='---end quoted text---' #set print=ask-yes # ask me if I really want to print messages set noprompt_after # ask me for a command after the external pager exits #set quote_regexp="^ *[a-zA-Z]*[>:#}]" # how to catch quoted text set read_inc=25 # show progress when reading a mailbox #set recall # prompt to recall postponed messages #set reply_regexp="^(re:[ \t]*)+"# how to identify replies in the subject: #set resolve # move to the next message when an action is performed #set reverse_alias # attempt to look up my names for people set nosave_empty # remove files when no messages are left #set save_name # save outgoing messages by recipient, if the #set status_format="-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b? %l]---(%s)-%>-(%P)---" #set status_on_top # some people prefer the status bar on top #set strict_threads # don't thread by subject set tilde # virtual lines to pad blank lines in the pager #set timeout=0 # timeout for prompt in the index menu #set tmpdir=~/tmp # where to store temp files #set to_chars=" +TCF" #set use_8bitmime # enable the -B8BITMIME sendmail flag set nouse_domain # don't qualify local addresses with $domain #set use_from # always generate the `From:' header field set pgp_verify_sig=no # don't automatically verify message signatures #set nowait_key # prompt when a pipe returns normal status set write_inc=25 # show progress while writing mailboxes # only enable the following IFF you have sendmail 8.8.x or you will not # be able to send mail!!! set dsn_notify='failure,delay' # when to return an error message set dsn_return=hdrs # what to return in the error message # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Header fields I don't normally want to see ignore * # this means "ignore all lines by default" # I do want to see these fields, though! unignore from: Subject to cc mail-followup-to date x-url X-Bogosity # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Color definitions color indicator green blue color tilde blue black color markers brightred black color hdrdefault cyan black color header brightgreen black ^From: color header brightcyan black ^To: color header brightcyan black ^Reply-To: color header brightcyan black ^Cc: color header brightblue black ^Subject: #color attachment brightwhite green color index brightgreen black ~p # To me (personal) color index magenta black ~P # from me color index yellow black ~N # New #color index yellow black ~O # Old color index cyan black ~T # Tagged color index red black ~D # Deleted color index brightyellow brightred "~F !" color normal white black color quoted brightred black color quoted1 brightgreen black color quoted2 brightyellow black color quoted3 brightgreen black color signature magenta black color status brightyellow blue color tree red black color body brightred black [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ color body brightblue black "(ht|f)tp://[^ \t<>'\".]+(\\.[^ \t<>'\".]+)+" # attributes when using a mono terminal #mono header underline ^(From|Subject): mono quoted bold # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Key bindings # # maps: # alias alias menu # attach attachment menu # browser directory browser # compose compose menu # index message index # pgp pgp menu # postpone postponed message recall menu # generic generic keymap for all of the above # editor line editor # pager text viewer bind generic { top-page bind generic } bottom-page bind generic \177 last-entry bind index previous-entry bind index next-entry bind pager "\c?" previous-line bind index [7~ first-entry bind pager [7~ top bind index [8~ last-entry bind pager [8~ bottom macro index \cb |urlview\n # simulate the old browse-url function #macro index \# /bug^M # search for bugs #macro index "\"" ":set realname=\"real hairy macro\"^M:set ?realname^M" # and a comment to boot! #macro index f1 :woohoo! # just like vi and less bind pager G bottom #macro pager \Ck "|pgp -kaf^M" # a comment is valid here #macro pager X "|morepgp^M" # pipe PGP message to a script #bind editor \cy eol # make ^Y jump to the end of the line # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Specify default filename when saving messages # # save-hook [!] # # is provided as default when saving messages from #save-hook mutt- =mutt-mail #save-hook aol\.com +spam #save-hook ^judge +diplomacy # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Change settings based on mailbox # # folder-hook [!] # # is executed when opening a mailbox matching #folder-hook . 'set sort=date-sent' #folder-hook mutt 'set hdr_format="%4C %Z %02m/%02N %-20.20F (%4l) %s"' #folder-hook =mutt my_hdr Revolution: \#9 # real comment #folder-hook . 'exec uncollapse-all' # folder-hook . "set sort=threads" folder-hook "=INBOX" "set sort=date-received" folder-hook "=xorg-commits" "set sort_aux=date-sent" folder-hook "=xorg" "set sort=threads" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Specify the order of the headers to appear when displaying a message # # hdr_order [ ... ] # unhdr_order * # forget the previous settings hdr_order date from subject to cc # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Automatically use entries from ~/.mailcap to view these MIME types # # auto_view [ ... ] auto_view application/x-gunzip auto_view application/x-gzip auto_view text/html alternative_order text/plain text/html source ~/.mutt/gpg.rc source ~/.mutt/smime.rc source ~/.mutt/passwd