MIMEDefang Script Modification by Martin Bene:
my $hits;
if ($hits >= 1) {
my $spamgraph = '*' x ($hits > 50 ? 50 : $hits);
action_add_header("X-Spam-Level","$spamgraph ($hits)");
}
Thanks to Mickey Hill for the improvement by limiting $hitsint to a max value (50) to avoid overly long headers.