set wrap_search # Wrap search to top/bottom.
unset write_bcc # send Bcc: line to $sendmail
+set header_cache = ~/.mutt/header_cache
+
#
#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)
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.
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
set score_threshold_read=-1 # mark messages with score <=value read
-
#
# Show or suppress headers:
#
#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 "<copy-message>=spam/HAM\r"
+macro pager X "<copy-message>=spam/HAM\r"
+macro index "\\T" "<copy-message>=TODO\r"
+macro pager "\\T" "<copy-message>=TODO\r"
## ==============================================
## Bindings for editing and reloading the .muttrc
# ======================================
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"
# ===========================
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
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 '+'.
#folder-hook . unmy_hdr *
folder-hook . my_hdr "From: Don Armstrong <don@donarmstrong.com>"
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)" my_hdr "Mail-Followup-To: Don Armstrong <don@donarmstrong.com>";
# Debian folder hooks
folder-hook debian my_hdr "From: Don Armstrong <don@debian.org>"
+folder-hook bdo_role my_hdr "From: Don Armstrong <don@debian.org>"
+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 <don@debian.org>"
+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 <don@debian.org>"
## 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 !