Hello!
I had install RSPAMD 0.9.9 from source on the Debian Wheezy 0.7.8 (without systemd) with Exim 4.83 (rspamd path applied).
Now I have some problems with RSPAMD.
1. I sorting some of incoming mail in IMAP mailbox (latest Dovecot). Mailbox in the Maildir format When I try to learn rspamd by command "rspamc -h
192.168.0.57:11334 -P "q2" learn_spam /home/Learning/Spam", I see multiple errors:
"Results for file: /home/Learning/Spam/1437470259.M796571P10259.newspam,S=44982,W=46039:2,S IO read error: unexpected EOF"
or
"Connection refused"
2. In the Web-interface I unable upload any email files for learning - error "Upload failing"
3. In the log files I see multiple errors:
2015-07-22 16:54:21 #10494(main) print_signals_info: got SIGCHLD from child: 11473; reason: 'Child has terminated abnormally but did not create a core file'
2015-07-21 16:49:08 #10805(main) rspamd_rcl_statfile_handler: statfile BAYES_HAM has no explicit 'spam' setting, trying to guess by symbol
2015-07-21 16:49:08 #10805(main) rspamd_rcl_statfile_handler: guessed that statfile with symbol BAYES_HAM is ham
2015-07-21 16:49:08 #10805(main) rspamd_rcl_statfile_handler: statfile BAYES_SPAM has no explicit 'spam' setting, trying to guess by symbol
2015-07-21 16:49:08 #10805(main) rspamd_rcl_statfile_handler: guessed that statfile with symbol BAYES_SPAM is spam
2015-07-21 16:49:08 #10805(main) rspamd_regexp_library_init: pcre is compiled without JIT support, so many optimisations are impossible
2015-07-21 16:49:08 #10805(main) rspamd_map_add: map '/usr/local/var/lib/rspamd/rspamd_dynamic' is not found, but it can be loaded automatically later
2015-07-21 16:49:09 #10805(main) rspamd_url_init: initialized ac_trie of 7439 elements
2015-07-21 16:49:09 #10805(main) rspamd_regexp_new: cannot optimize raw regexp pattern: '^$': (NULL)
2015-07-21 16:49:09 #10805(main) spamassassin.lua:522: loaded 0 freemail domains definitions
2015-07-21 16:49:09 #10805(main) ratelimit.lua:379: no servers are specified
2015-07-21 16:49:09 #10805(main) main: rspamd 0.9.9 is starting, build id:
2015-07-21 16:49:09 #10805(main) rspamd_roll_history_load: cannot load history from /usr/local/var/lib/rspamd/rspamd.history: size mismatch
2015-07-21 16:49:09 #10805(main) rspamd_inet_address_listen: bind failed: 98, 'Address already in use'
2015-07-21 16:49:09 #10805(main) spawn_workers: cannot listen on socket localhost: Address already in use
2015-07-21 16:49:09 #10805(main) spawn_workers: cannot create listen socket for normal at localhost
Rspamd.conf:
.include "$CONFDIR/common.conf"
options {
pidfile = "$RUNDIR/rspamd.pid";
.include "$CONFDIR/options.inc"
dynamic_conf = "/usr/local/var/lib/rspamd/rspamd_dynamic";
}
logging {
type = "file";
filename = "$LOGDIR/rspamd.log";
.include "$CONFDIR/logging.inc"
}
#worker {
# bind_socket = "*:11334";
# .include "$CONFDIR/worker-controller.inc"
#}
###options {
### dynamic_conf = "/var/lib/rspamd/rspamd_dynamic";
###}
worker {
type = "controller";
bind_socket = "*:11334";
count = 1;
# Password for normal commands
password = "q1";
# Password for privilleged commands
enable_password = "q2";
# Path to webiu static files
static_dir = "${WWWDIR}";
}
worker {
bind_socket = "localhost:11333";
.include "$CONFDIR/worker-normal.inc"
}
Thank You,
Andrew.