I've installed rspamd 0.9.0 and rspamd-interface but I am having some problems authenticating. I'm using lighttpd with mod_proxy and I've set the passwords in workers.conf. I've also set my client IP as the secure IP. rspamd has been restarted after the configuration changes. The rspamd interface (web) says the password is incorrect, and I am seeing this in rspamd.log:
2015-03-05 00:29:42 #13322(main) main: rspamd 0.9.0 is starting, build id:
2015-03-05 00:29:42 #13322(main) ratelimit.lua:379: no servers are specified
2015-03-05 00:29:42 #13322(main) rspamd_mmaped_file_open: cannot stat file /var/lib/rspamd/bayes.spam, error No such file or directory, 2
2015-03-05 00:29:42 #13322(main) rspamd_mmaped_file_open: cannot stat file /var/lib/rspamd/bayes.ham, error No such file or directory, 2
2015-03-05 00:29:42 #13322(main) rspamd_inet_address_listen: bind failed: 98, 'Address already in use'
2015-03-05 00:29:42 #13324(controller) fork_worker: starting controller process 13324
2015-03-05 00:29:42 #13325(normal) fork_worker: starting normal process 13325
2015-03-05 00:29:42 #13326(normal) fork_worker: starting normal process 13326
2015-03-05 00:29:42 #13327(normal) fork_worker: starting normal process 13327
2015-03-05 00:29:42 #13328(normal) fork_worker: starting normal process 13328
2015-03-05 00:29:42 #13329(normal) fork_worker: starting normal process 13329
2015-03-05 00:29:42 #13330(normal) fork_worker: starting normal process 13330
2015-03-05 00:29:42 #13331(normal) fork_worker: starting normal process 13331
2015-03-05 00:29:42 #13332(normal) fork_worker: starting normal process 13332
2015-03-05 00:30:47 #13324(controller) rspamd_controller_check_password: absent password has been specified
I've noticed the message from rspamd_inet_address_listen but not sure if that should prevent me from logging into the web interface. I'm curious about the last line "absent password has been specified".
worker {
type = "normal";
bind_socket = "*:11333";
mime = true;
}
worker {
type = "controller";
count = 1;
bind_socket = "localhost:11334";
password = "xxxxxxxxxxxxxxxxxx";
enable_password = "xxxxxxxxxxxxxxxxxx";
secure_ip = "a.b.c.d";
static_dir = "${WWWDIR}";
}
"rspamc stat" also responds 403 unauthorized.