Permalink
Browse files

karma: added neg karma for SPF deny/fail

  • Loading branch information...
1 parent c8a7763 commit 67a481503b95f54b71db839ad50ef95299aa1e69 @msimerson msimerson committed Jan 19, 2014
Showing with 9 additions and 2 deletions.
  1. +6 −2 config/karma.ini
  2. +3 −0 plugins/rcpt_to.max_count.js
View
@@ -29,8 +29,8 @@ good=10
; maximum number of recipients allowed
[recipients]
bad=1
-neutral=3
-good=10
+neutral=5
+good=20
[threshhold]
@@ -77,3 +77,7 @@ notes.rdns_access@white=1
notes.fcrdns.no_rdns=-2
notes.fcrdns.ip_in_rdns=-1
notes.spamassassin.flag@Yes=-2
+notes.spf_helo@3=-2
+notes.spf_helo@4=-1
+notes.spf_helo@6=-1
+notes.spf_helo@7=-1
@@ -2,6 +2,9 @@
// this helps guard against some spammers who send RCPT TO a gazillion times
// as a way of probing for a working address
+// Consider using the karma plugin. It supports limiting the number
+// of recipients based on past behavior (good, bad, unknown)
+
exports.hook_rcpt = function (next, connection) {
if (connection.transaction.notes.rcpt_to_count) {
connection.transaction.notes.rcpt_to_count++;

0 comments on commit 67a4815

Please sign in to comment.