diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-31 18:59:40 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-31 18:59:40 +0400 |
commit | 2a8b8ce671babd92cd60fbd70be9edf97cc20603 (patch) | |
tree | fe4c61979cd646544d5e2be1e89c8c8d9241e3af /rspamc.pl.in | |
parent | 7c778294a9625ee4954f784763495e05af513510 (diff) | |
download | rspamd-2a8b8ce671babd92cd60fbd70be9edf97cc20603.tar.gz rspamd-2a8b8ce671babd92cd60fbd70be9edf97cc20603.zip |
* Write symbols weights to rspamc output
* Improve logic of selecting rspamc version
* Do not try to parse broken DNS replies
* Add 'raw' flag to FROM_EXCESS_BASE64 rule (requested by citrin)
Diffstat (limited to 'rspamc.pl.in')
-rwxr-xr-x | rspamc.pl.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rspamc.pl.in b/rspamc.pl.in index b2f6162d8..8d69e341a 100755 --- a/rspamc.pl.in +++ b/rspamc.pl.in @@ -288,6 +288,7 @@ if ($cmd =~ /(SYMBOLS|PROCESS|CHECK|URLS|EMAILS)/i) { elsif ($cmd =~ /(STAT|LEARN|SHUTDOWN|RELOAD|UPTIME|COUNTERS|FUZZY_ADD|FUZZY_DEL|WEIGHTS)/i) { $cfg{'command'} = $1; $cfg{'control'} = 1; + $cfg{'hosts'} = ['localhost:11334']; } else { die "unknown command $cmd"; |