1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# Rspamd statistic setup classifier { type = "bayes"; tokenizer = "osb-text"; metric = "default"; min_tokens = 10; max_tokens = 1000; statfile { symbol = "BAYES_HAM"; size = 50Mb; path = "$DBDIR/bayes.ham"; } statfile { symbol = "BAYES_SPAM"; size = 50Mb; path = "$DBDIR/bayes.spam"; } }