# ============================================== # Pauo Vital .muttrc - last change - 20030219 # ============================================== #arquivo com lista de contatos #file with my contact list #set alias_file=~/.mutt.aliases #source ~/.mutt.aliases unset allow_8bit unset arrow_cursor unset ascii_chars unset askbcc unset askcc set attach_split unset autoedit set auto_tag set beep # beep em caso de erros set beep_new # beep qdo chegar nova mensagem unset bounce_delivered set check_new unset collapse_unread unset confirmappend set confirmcreate set copy # mantem copia dos e-mails set delete_untag set edit_headers # coloca o cabecalho no editor de mensagens set encode_from set envelope_from unset fast_reply # nao pergunta pelo to , for ... quando for reply set fcc_attach set fcc_clear set followup_to unset force_name set forward_decode unset forward_decrypt unset forward_quote set hdrs unset header set help unset hidden_host set honor_followup_to unset ignore_list_reply_to set implicit_autoview set mailcap_sanitize set mark_old set markers set menu_scroll unset meta_key unset metoo set mh_purge # remove mensagens marcadas como apagadas unset mime_forward_decode set pager_stop set pipe_split unset prompt_after unset read_only unset reply_self set resolve unset reverse_alias unset reverse_name unset save_address unset save_empty # elimina a pasta qdo a uhltima mensagem for removida unset save_name unset score unset sig_dashes set smart_wrap set sort_re set status_on_top unset strict_threads unset suspend # habilita Ctrl-Z -> suspende mutt set thorough_search set tilde unset uncollapse_jump unset use_8bitmime unset use_domain unset use_from set user_agent # coloca User-Agent: Mutt/ no cabecalho unset wait_key set wrap_search unset write_bcc set abort_nosubject = no # aborta , se a mensagem não tiver subject set abort_unmodified = yes # aborta , se a mensagem não sofreu mudanças set delete = yes set honor_followup_to = yes set include = yes set mime_forward = yes set move = no # deseja mover mail-spool para $mbox? set postpone = ask-yes # pergunta se deseja adiar mensagem set print = no set quit = yes set recall = no # pergunta se deseja enviar mensagem adiada set reply_to = yes # usar ou nao reply-to? set attribution = "* %n (%a) wrote:" set charset = "iso-8859-1" set date_format = "!%a %b %d, %Y at %I:%M:%S%p %Z" set default_hook = "~f %s | ~t %s" set editor = "emacs" set folder = /var/mail # diretohrio com todas as pastas set history = 50 set hostname = "ratm" set indent_str = "> " # quote das mensagens respondidas set mail_check = 5 set mark_old # faz distincao entre mensagens antigas e novas set markers set mbox = /var/mail/pvital # coloca os e-mails dentro do dir do usuahrio set mbox_type = MAILDIR set pager_context = 3 set pager_index_lines = 9 set pgp_timeout = 1000 set postponed = ~/mail/postponed # mensagens adiadas set quote_regexp = "^( {0,4}-?[>|:]| {0,4}[a-z0-9]+[>|]+)+" set read_inc = 20 set realname = "Paulo Ricardo Paz Vital" set record = +sent set reply_regexp = "^((re|RE|Re|r e|aw):[ \t]*)*" set signature = "~/.mail_signature.txt" set simple_search = "~f %s | ~C %s | ~s %s" set sort_alias = alias set sort_browser = alpha set spoolfile = /var/mail/pvital set status_chars = "-*%A" # status da caixa de mensagens set tmpdir = "/tmp" set to_chars = " +TCF" #default (Not to me, To me, CC me, From me) set write_inc = 10 set forward_format = "(forw) [%a: %s]" set index_format = "%4C %Z %[!%d/%m] %-17.17F (%3l) %s" set pager_format = "%S [%C] %n (%l) %s" set folder_format = "%F %-8.8u %-8.8g %d %8s %N %f" set status_format = "-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b? %?l? %l?]---(%s/%S)-%>-(%P)---" auto_view text/html text/enriched application/x-gunzip application/postscript image/gif application/x-tar-gz application/pgp-signature # ==================== # teclas de atalho # ==================== bind attach ' ' select-entry bind index \t next-new bind pager \t next-new bind index ' ' next-unread bind pager ' ' next-unread bind index V show-version bind pager V show-version bind index A create-alias bind pager A create-alias macro index S add_spammer.pls="SPAM\n" macro pager S add_spammer.pls="SPAM\n" macro generic ,ve "!Eterm -e vim ~/.muttrc &\r" macro generic ,vu ":source ~/.muttrc\r" macro generic ,va "!Eterm -e vim ~/.mutt.aliases &\r" bind index P recall-message bind index s save-message bind browser x check-new bind index next-page bind index previous-page bind index x sync-mailbox bind index a tag-prefix bind index \; tag-entry macro index \cb "|urlview\n" macro index ,l "l~N ! ~p\n" macro index ,n "l~N\n" bind pager / search bind pager L list-reply bind pager b bounce-message bind pager f forward-message bind pager m mail bind pager g group-reply bind pager j next-line bind pager k previous-line bind pager : enter-command bind pager p previous-undeleted bind pager n next-undeleted bind pager \n next-unread bind compose \n send-message bind compose s send-message bind pager ,p print-message # ===================================== # Movimento do cursor # ===================================== bind pager previous-line bind pager next-line bind pager exit bind pager view-attachments bind attach exit bind attach view-attach bind index display-message macro index "c?" bind browser select-entry bind browser exit # ==================== # definicao de cores # colors definitions # ==================== color attachment white magenta color body cyan default "ftp://[^ ]*" color body brightgreen default "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]" color body cyan default "" color bold green default color error red default color header yellow default "^cc:" color header green default "^date:" color header yellow default "^from" color header brightcyan default "^from:" color header yellow default "^newsgroups:" color header yellow default "^reply-to:" color header brightcyan default "^subject:" color header green default "^to:" color header yellow default "^x-mailer:" color header yellow default "^message-id:" color header yellow default "^Organization:" color header yellow default "^Organisation:" color header yellow default "^User-Agent:" color header yellow default "^message-id: .*pine" color indicator white blue color markers red default color message white blue color normal white default 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 "[;:]-[)/(|]" color body yellow default "[;:][)/(|]" color body brightblue default "(http|ftp|news|telnet|finger)://[^ ]*" color index yellow default ~N color index yellow default ~O color index brightgreen default '~s tgil' color index brightgreen default '~p' #mensagem para mim mesmo color index brightcyan default '~P' # mensagem que eu mandei color index magenta default ~F color index blue default ~T color index red default ~D ignore * unignore from: date subject to cc reply-to: unignore organization organisation unignore user-agent: x-agent: x-mailer: x-newsreader: unignore newsgroups: posted-to: unhdr_order * hdr_order Date: To: Cc: X-Newsreader: X-Mailer: Organization: Organisation: User-Agent: Newsgroups: Reply-To: From: Subject: #=========================================== # mostra apenas o texto , mesmo quando a # mensagem estiver em html #=========================================== alternative_order text/plain #set alternates=(pvital@ec.ucdb.br) # #folder-hook . set timeout=30 #folder-hook . set sort=threads #folder-hook . set sort_aux=date-sent # #folder-hook "!" set timeout=5 # #folder-hook "!" set sort=date-received #folder-hook ".sent" set sort=date-received #folder-hook "work" set sort=date-received # #folder-hook . set signature=~/assinatura # # #folder-hook . unmy_hdr * #folder-hook . my_hdr From: Rafael A. Schmitt #folder-hook . my_hdr X-Editor: Vim http://www.vim.org/ #folder-hook . my_hdr X-Operating-System: Linux/`uname -r` (`uname -m`) ## "lists" adds a list of mailing lists addresses ## so mutt knows about these for showing them in the folder indes ## and to allow replying to them with the command "list-reply". ## The first part of the address (up to the @) should be used here. #unlists * # remove old entries first #lists `cd ~/mail/lists && echo *` # #unsubscribe * #subscribe `cd ~/mail/lists && echo *` ## "mailboxes" defines the list of folders to be checked for new mail ## Mutt both can show the number of mailboxes with new mail in the index and ## you can cycle through these after giving the "change-folder" command. :-) #mailboxes ! +lists #mailboxes `for file in ~/mail/lists/*; do echo -n "+lists/$(basename $file) "; done` # ======================================================= # em caso de listas de discussão , # teclando shift + L , manda reply apenas para a lista # sem CC para quem enviou a mensagem # ======================================================= #lists linux-br@bazar.conectiva.com.br #lists debian-user-portuguese@lists.debian.org #lists prog-br@bazar.conectiva.com.br #lists linuxall@egroups.com