From 963eb4f57ec1e69bd2abaf39294435541356abc1 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 21 Aug 2007 01:14:31 +0200 Subject: [PATCH 1/1] add spam to index_format; not working yet --- muttrc | 3 ++- spam | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 spam 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 -- 2.39.5