]> git.madduck.net Git - etc/mutt.git/commitdiff

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
authormartin f. krafft <madduck@madduck.net>
Fri, 7 Sep 2007 11:56:48 +0000 (13:56 +0200)
committermartin f. krafft <madduck@madduck.net>
Fri, 7 Sep 2007 11:56:48 +0000 (13:56 +0200)
spam

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