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

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] / spam
diff --git a/spam b/spam
index 7a7c1409e27253d0d67ae6075471fc419fed4131..88eec81e65c08fae46fd141589d2d18746b4aa21 100644 (file)
--- a/spam
+++ b/spam
@@ -1,6 +1,4 @@
-#nospam *
-spam "." "all"
-spam "^X-Spam-Status: Yes, score=([-.0-9]+)/" "SA:%1"
-spam "^X-CRM114-Status: SPAM  \( [-.0-9]+ \)" "crm:%1"
+nospam *
+spam "^X-Spam: yes \\(crm114:([-.0-9]+) SA:([-.0-9]+)\\)$" "%2|%1"
 
 # vim:ft=muttrc