From d5f1f3f72ba05d9eb4ca079a6fba2c0d810385b2 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sat, 23 Mar 2013 01:04:03 -0400 Subject: [PATCH] badrcptto: smite matches with -2 karma useful for (reject=>naughty) + spam filter training --- plugins/badrcptto | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/badrcptto b/plugins/badrcptto index 8787974..3d15776 100644 --- a/plugins/badrcptto +++ b/plugins/badrcptto @@ -64,6 +64,7 @@ sub hook_rcpt { my ($bad, $reason) = split /\s+/, $line, 2; next if ! $bad; if ( $self->is_match( $to, lc($bad), $host ) ) { + $self->adjust_karma( -2 ); if ( $reason ) { return (DENY, "mail to $bad not accepted here"); }