]> git.madduck.net Git - etc/mutt.git/blobdiff - hooks

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

fix spam scoring
[etc/mutt.git] / hooks
diff --git a/hooks b/hooks
index 412c81dbeabeb4a9704dc1d7b73e2f3caa5cac6c..1d062cbb0b6fd8ef0e9c142cc1d456bb80c29844 100644 (file)
--- a/hooks
+++ b/hooks
@@ -4,7 +4,7 @@ send-hook '~C @bugs\.debian\.org' 'my_hdr X-Debbugs-No-Ack: please spare me'
 send-hook '~C @packages\.qa\.debian\.org' 'my_hdr X-PTS-Approved: please'
 #send-hook '~C -request@' 'my_hdr X-Record: discard'
 
-fcc-hook -request@ ''
+fcc-hook -request@ '=discard'
 send-hook '~s "Re: confirm" ~t -request@' 'unset crypt_autosign'
 
 # do not set M-F-T on mails to the git mailing list
@@ -18,4 +18,6 @@ send-hook '~C git@vger\.kernel\.org' 'unset followup_to'
 #macro index L '<enter>L'
 # NOTE: using M-F-T from procmail for now
 
+folder-hook spam push '<limit>~N<enter><sort-mailbox>s<first-entry>'
+
 # vim:ft=muttrc