diff options
author | cebka@lenovo-laptop <cebka@lenovo-laptop> | 2010-02-04 20:58:47 +0300 |
---|---|---|
committer | cebka@lenovo-laptop <cebka@lenovo-laptop> | 2010-02-04 20:58:47 +0300 |
commit | f57b47be64858f088fc0406c05d8fed94f5f9477 (patch) | |
tree | 92489e4820556d7afb190622aab8bc0b84dccfeb /rspamd.conf.sample | |
parent | bb5a1a9fb091ae443dd37c497fcf9202649ba95d (diff) | |
download | rspamd-f57b47be64858f088fc0406c05d8fed94f5f9477.tar.gz rspamd-f57b47be64858f088fc0406c05d8fed94f5f9477.zip |
* Add a little review of rspamd
* Add local_scan.c from Anton Nekhoroshikh for exim MTA
Diffstat (limited to 'rspamd.conf.sample')
-rw-r--r-- | rspamd.conf.sample | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/rspamd.conf.sample b/rspamd.conf.sample index 91a7fac09..43febafca 100644 --- a/rspamd.conf.sample +++ b/rspamd.conf.sample @@ -114,24 +114,27 @@ classifier { statfile { # Alias is used for learning and is used as symbol symbol = "WINNOW_SPAM"; - # Pattern is path to file, can include %r - recipient name and %f - mail from value - path = "/tmp/test.spam"; + # Pattern is path to file + path = "/tmp/test.spam"; # Size of this statfile class size = 10M; - # Tokenizer for this statfile - # Deafault: osb-text - #tokenizer = "osb-text"; - autolearn { - min_mark = 10.0; - }; + + # Used for normalizing results, number means maximum score for this + # class + normalizer="internal:10"; + # Autolearn params + #autolearn { + # min_mark = 10.0; + #}; }; statfile { symbol = "WINNOW_HAM"; path = "/tmp/test.ham"; size = 10M; - autolearn { - max_mark = 0.1; - }; + # Autolearn params + #autolearn { + # max_mark = 0.1; + #}; }; }; @@ -355,13 +358,13 @@ view { }; # Settings files -settings { +#settings { # json data for user's settings #user_settings = "file:///some/json/file"; # json data for domain's settings #domain_settings = "file:///some/other/json/file"; -}; +#}; # Example of json config: # [ |