From e8a387da1d23ad7303e4c9ce1bcdca961da52bde Mon Sep 17 00:00:00 2001 From: short <> Date: Sun, 6 Oct 2002 19:46:17 +0000 Subject: [PATCH] Improved spam handling --- .muttrc.addons | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.muttrc.addons b/.muttrc.addons index dd7ef89..dbad39a 100644 --- a/.muttrc.addons +++ b/.muttrc.addons @@ -1,9 +1,12 @@ # System-wide personalization for Mutt ###################################### -folder-hook "" set sort=threads -folder-hook "!" set sort=mailbox-order -folder-hook "=sent" set sort=mailbox-order +folder-hook "" set sort=threads +folder-hook "!" set sort=mailbox-order +folder-hook "=sent" set sort=mailbox-order +folder-hook "=spam" set sort=mailbox-order +folder-hook "=err" set sort=mailbox-order +folder-hook "=input$" set sort=mailbox-order bind index \` next-unread bind index \` previous-unread unset strict_threads @@ -48,7 +51,9 @@ set attribution="On %D, %n wrote:" bind index \ca mail macro index M ":my_hdr X-Priority: 1\n:my_hdr Importance: high\n:set dsn_return=hdrs\n:set dsn_notify=failure,delay,success\n^a" "DSN and Priority-1 classed compose of a new mail message" macro index m ":unmy_hdr X-Priority Importance\n:unset dsn_return dsn_notify\n^a" "Standard compose of a new mail message" -macro index S ":unset wait_key\n:set pipe_split\n|/home/short/bin/razor-report\n:unset pipe_split\n:set wait_key\nd" +# quote 'macro' argument to prevent: macro: too many arguments +folder-hook "" "macro index S \":unset wait_key\n:set pipe_split\n|/home/short/bin/razor-report\n:unset pipe_split\n:set wait_key\ns=spamo-mutt\n\"" +folder-hook "=spam" "macro index S \":unset wait_key\n:set pipe_split\n|/home/short/bin/razor-report\n:unset pipe_split\n:set wait_key\nWN\ct~T\n\"" macro editor \ew "^a [WAS: ^e]^a" # GPG -- 1.8.3.1