diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-07-31 21:05:51 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-07-31 21:05:51 +0300 |
commit | 8caf7d493f327682ea6a5fe47ff63e77b0ee3faa (patch) | |
tree | a846ddeffb83be63a5d740b578b0972f02825a57 /utils/rspamd_stats.pl | |
parent | 4d3658246c855f6a7aa7679911ef3fb94cb05f66 (diff) | |
download | rspamd-8caf7d493f327682ea6a5fe47ff63e77b0ee3faa.tar.gz rspamd-8caf7d493f327682ea6a5fe47ff63e77b0ee3faa.zip |
[Minor] rspamd_stats: check all symbols by default
Diffstat (limited to 'utils/rspamd_stats.pl')
-rw-r--r-- | utils/rspamd_stats.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/rspamd_stats.pl b/utils/rspamd_stats.pl index e81cad401..7d93d2e89 100644 --- a/utils/rspamd_stats.pl +++ b/utils/rspamd_stats.pl @@ -28,6 +28,8 @@ GetOptions( pod2usage(1) if $help; pod2usage(-exitval => 0, -verbose => 2) if $man; +@symbols_search = '.*' + unless defined @symbols_search; # Global vars my $total = 0; @@ -210,13 +212,13 @@ rspamd_stats - analyze Rspamd rules by parsing log files =head1 SYNOPSIS -rspamd_stats [options] --symbol=SYM1 [--symbol=SYM2...] [--log file] +rspamd_stats [options] [--symbol=SYM1 [--symbol=SYM2...]] [--log file] Options: --log=file log file to read (stdin by default) --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) + --symbol=sym check specified symbol (perl regexps, '.*' by default) --alpha=value set ignore score for symbols (0.1 by default) --help brief help message --man full documentation |