]> 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 e710d5e14221ed0ed8b32649e2a0931fc04db585..1d062cbb0b6fd8ef0e9c142cc1d456bb80c29844 100644 (file)
--- a/hooks
+++ b/hooks
@@ -4,7 +4,20 @@ 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'
 
 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'
 
 send-hook '~s "Re: confirm" ~t -request@' 'unset crypt_autosign'
 
+# do not set M-F-T on mails to the git mailing list
+send-hook . 'set followup_to'
+send-hook '~C git@vger\.kernel\.org' 'unset followup_to'
+
+# do a <group-reply> for L when sending to the git mailing list
+# http://marc.info/?l=mutt-users&m=118734866910357&w=2
+#message-hook . 'bind pager L list-reply'
+#message-hook '~C git@vger\.kernel\.org' 'bind pager L group-reply'
+#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
 # vim:ft=muttrc