From: martin f. krafft Date: Mon, 20 Aug 2007 23:14:31 +0000 (+0200) Subject: add spam to index_format; not working yet X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/963eb4f57ec1e69bd2abaf39294435541356abc1?ds=sidebyside add spam to index_format; not working yet --- diff --git a/muttrc b/muttrc index 4d6c23f..3247f5d 100644 --- a/muttrc +++ b/muttrc @@ -1450,7 +1450,7 @@ set include=yes # # See also: ``$to_chars''. # -set index_format="%4C %Z %{%b %d} %-15.15F (%?l?%4l&%4c?) %s" +set index_format="%4C %Z %{%b %d} %-15.15F (%?l?%4l&%4c?) %?H?[%H] ?%s" # # set ispell="ispell" # @@ -4436,6 +4436,7 @@ source $my_confdir/headers source $my_confdir/alternates source $my_confdir/keybindings source $my_confdir/lists +source $my_confdir/spam source $my_confdir/hooks set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/null` diff --git a/spam b/spam new file mode 100644 index 0000000..7a7c140 --- /dev/null +++ b/spam @@ -0,0 +1,6 @@ +#nospam * +spam "." "all" +spam "^X-Spam-Status: Yes, score=([-.0-9]+)/" "SA:%1" +spam "^X-CRM114-Status: SPAM \( [-.0-9]+ \)" "crm:%1" + +# vim:ft=muttrc