X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.muttrc;h=d45ed5f313eaef7d8a772dbb19f018d526bfcb8c;hb=7bfec6e4063fb5e5bc004b979c1636f4de03c122;hp=9925b07cc5f2e78fa43acc5106410e4efb39755f;hpb=7aaddc3f8c79da3e3413e94a3b8c0007434044a3;p=mail.git diff --git a/.muttrc b/.muttrc index 9925b07..d45ed5f 100644 --- a/.muttrc +++ b/.muttrc @@ -89,6 +89,8 @@ set weed # weed headers, when forwarding with forward_decode set wrap_search # Wrap search to top/bottom. unset write_bcc # send Bcc: line to $sendmail +set header_cache = ~/.mutt/header_cache + # @@ -173,10 +175,7 @@ set sort_alias=alias #reset dotlock_program # where to find mutt_dotlock (reset uses default) set display_filter="" # pipe message through this filter before displaying -set editor="exec gnuclient +\`awk '/^$/ {print NR+1; exit}' %s\` %s" - # start 1 line after first empty line -#set editor="emacsclient +8 %s" # start editor in line 8 -#set editor="jed %s -tmp -f mail_mode" +set editor="~/bin/sane_editor +\`awk '/^$/ {print NR+1; exit}' %s\` %s" set folder=~/Mail # where are the mailboxes (+ and = are shortcuts) #set folder="{luv}Mail" # where are the mailboxes (+ and = are shortcuts) set from="" # From: address (see send-hook my_hdr From) @@ -204,7 +203,7 @@ set narrow_tree=yes set attach_sep="\n" # Separator to add between tagged attachements set charset="utf-8" # Charset of Terminal (for display) -set send_charset="us-ascii:iso-8859-1:utf-8" # Charsets for outgoing messages. +set send_charset="utf-8" # Charsets for outgoing messages. reset escape # ESC-char for internal editor (use default). reset hostname # FQDN (use default). set indent_string="> " # Quoting mails with this string. @@ -294,7 +293,13 @@ set date_format="!%a %b %d, %Y at %I:%M:%S%p %Z" set forward_format="(fwd) %s" # subject of forwarded mails -set index_format="%4C %Z %[!%k:%M %m.%d.%y] %-15.15F (%?M?C%3M&%4c?) %s" +spam 'X-Spam-Level: \*\*\*\*\*\*\*\*' 8 +spam 'X-Spam-Level: \*\*\*\*\*\*' 6 +spam 'X-Spam-Level: \\*\\*\\*' 3 +spam 'X-Spam-Level: \*\*' 2 +spam 'X-Spam-Level: \*' 1 +#set index_format="%4C %Z %{%b %d} %-15.15F (%4c) %?H?[%H] ?%s" +set index_format="%4C %Z %[!%k:%M %m.%d.%y] %-15.15F (%?M?C%3M&%4c?) %?H?[%H] ?%s" # message line in the index # don't use locales here, because it's not needed and # it runs in a memory leak in Linux libc5 @@ -451,7 +456,6 @@ set score_threshold_flag=9999 # mark messages with score >=value flagged set score_threshold_read=-1 # mark messages with score <=value read - # # Show or suppress headers: # @@ -585,8 +589,10 @@ bind pager A create-alias #macro pager X |"spamassassin -r \n" macro index S "s=spam/MANUALSPAM\r" macro pager S "s=spam/MANUALSPAM\r" -macro index X "s=spam/HAM\ru" -macro pager X "s=spam/HAM\ru" +macro index X "=spam/HAM\r" +macro pager X "=spam/HAM\r" +macro index "\\T" "=TODO\r" +macro pager "\\T" "=TODO\r" ## ============================================== ## Bindings for editing and reloading the .muttrc @@ -618,11 +624,14 @@ macro index ,n "l~N\n" # ====================================== macro index "\\d" "c=lists/debian-devel\r" macro index "\\o" "c=outbox\r" +macro index "\\t" "c=TODO\r"; macro index "\\b" "c=lists/debian_bugs\r" macro index I "c!\n" "Go to Inbox" -macro pager "\\d" "c=lists/e-develop\r" + +macro pager "\\d" "c=lists/debian-devel\r" +macro pager "\\t" "c=TODO\r"; macro pager "\\o" "c=outbox\r" -macro pager "\\b" "c=lists/debian_bugs\r" +macro pager "\\b" "c=lists/debian-bugs\r" macro pager I "c!\n" "Go to Inbox" # =========================== @@ -702,6 +711,7 @@ color header yellow default "^message-id: .*pine" color header yellow default "^X-Fnord:" color header yellow default "^X-WebTV-Stationery:" color header yellow default "^X-Message-Flag:" +color header yellow default "^X-Diagnostic:" color indicator white blue color markers red default @@ -751,10 +761,12 @@ unignore user-agent: x-agent: x-mailer: x-newsreader: unignore newsgroups: posted-to: x-spam-rule: # These can provide amusement unignore X-Fnord: X-WebTV-Stationery: X-Message-Flag: +# procmail rules for listmaster +unignore X-Diagnostic: # ordering of headers in the pager unhdr_order * -hdr_order Date: From: To: Cc: X-Newsreader: X-Mailer: Organization: Organisation: User-Agent: X-Fnord: X-WebTV-Stationery: X-Message-Flag: Newsgroups: Reply-To: Subject: x-spam-rule: +hdr_order Date: From: To: Cc: X-Newsreader: X-Mailer: Organization: Organisation: User-Agent: X-Fnord: X-WebTV-Stationery: X-Message-Flag: X-Diagnostic: Newsgroups: Reply-To: Subject: x-spam-rule: ## "alternates" tells mutt about your addresses. Mutt thus can show mails ## addresses to you in the folder index as "personal" using the flag '+'. @@ -775,16 +787,28 @@ folder-hook "sent" set sort=date-received #folder-hook . unmy_hdr * folder-hook . my_hdr "From: Don Armstrong " folder-hook . set signature="~/.signature" +folder-hook . unmy_hdr "Reply-To:" +folder-hook . unmy_hdr "Cc:" # bug hooks reply-hook ~A unmy_hdr "X-Debbugs-No-Ack"; -reply-hook '~h X-Debian-PR' my_hdr "X-Debbugs-No-Ack: yes no ack"; +#reply-hook "~h X-Debian-PR" my_hdr "X-Debbugs-No-Ack: yes no ack"; send-hook ~A unmy_hdr "X-Debbugs-No-Ack"; -send-hook '~C submit@bugs.debian.org | ~C control@bugs.debian.org' my_hdr "X-Debbugs-No-Ack: yes no ack" +send-hook "(~C submit@bugs.debian.org |~C control@bugs.debian.org |~C \d+@bugs.debian.org)" my_hdr "X-Debbugs-No-Ack: yes no ack" +# Fix the Mail-Followup-To for sdondley +reply-hook . unmy_hdr "Mail-Followup-To"; +reply-hook "(~f sdondley@gmail.com|~f s@gmail.com|~f s@dondley.com)" my_hdr "Mail-Followup-To: Don Armstrong "; # Debian folder hooks folder-hook debian my_hdr "From: Don Armstrong " +folder-hook bdo_role my_hdr "From: Don Armstrong " +folder-hook bdo_role my_hdr "Reply-To: owner@bugs.debian.org" +folder-hook bdo_role my_hdr "Cc: owner@bugs.debian.org" +folder-hook 0_ldo_role my_hdr "From: Don Armstrong " +folder-hook 0_ldo_role my_hdr "Reply-To: listmaster@lists.debian.org" +folder-hook 0_ldo_role my_hdr "Cc: listmaster@lists.debian.org" + #reply-hook '~C don@debian.org' my_hdr "From: Don Armstrong " @@ -817,7 +841,9 @@ subscribe `cd ~/Mail/bugs && echo *` ## 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 +INBOX +mailboxes +TODO mailboxes +bdo_role +mailboxes +0_ldo_role mailboxes +oftc #mailboxes +lists ! #mailboxes +bugs !