+ # spam detection
+ return if did sub {
+ local $store_profile="silent";
+ local $_;
+ store "=spam-abuse" .";$_","log" if $_=dnsbl '.blackholes.mail-abuse.org.' ,1; # all hosts
+ # we don't check all hosts as they can be "dialup" category, FIXME: check for it
+ store "=spam-five" .";$_","log" if $_=dnsbl '.blackholes.five-ten-sg.com.',0; # just first
+ store "=spam-razor".($_ eq 1 ? "" : ";$_") if $_=razor2();
+ # I don't send viruses but viruses propagate mails of mine
+ store "=spam-av" if headeris "X-Mailer",'ravmd/8.3.2';
+ };
+