initial_train.sh 335 B

1234567
  1. #!/bin/sh
  2. wget -O /tmp/bayes.ham.sqlite https://rspamd.com/rspamd_statistics/bayes.ham.sqlite
  3. wget -O /tmp/bayes.spam.sqlite https://rspamd.com/rspamd_statistics/bayes.spam.sqlite
  4. rspamadm statconvert --spam-db /tmp/bayes.spam.sqlite --ham-db /tmp/bayes.ham.sqlite --redis-host redis --symbol-spam BAYES_SPAM --symbol-ham BAYES_HAM