my @symbols_search;
my $reject_score = 15.0;
my $junk_score = 6.0;
+my $diff_alpha = 0.1;
my $log_file = "";
my $man = 0;
my $help = 0;
"junk-score=f" => \$junk_score,
"symbol=s@" => \@symbols_search,
"log=s" => \$log_file,
+ "alpha=f" => \$diff_alpha,
"help|?" => \$help,
"man" => \$man
) or pod2usage(2);
my $ham_symbols = 0;
my $ham_spam_change = 0;
my $ham_junk_change = 0;
-my $diff_alpha = 0.1;
my %sym_res;
my $rspamd_log;
next;
}
}
+ next if $sym_name !~ /^$s/;
if (!$sym_res{$sym_name}) {
$sym_res{$sym_name} = {
--reject-score=score set reject threshold (15 by default)
--junk-score=score set junk score (6.0 by default)
--symbol=sym check specified symbol (perl regexps are supported)
+ --alpha=value set ignore score for symbols (0.1 by default)
--help brief help message
--man full documentation
Specifies the junk (add header or rewrite subject) threshold.
+=item B<--alpha-score>
+
+Specifies the minimum score for a symbol to be considered by this script.
+
=item B<--symbol>
Add symbol or pattern (pcre format) to analyze.