Problem with rspamd 1.7.x

929 views
Skip to first unread message

Bill Pye

unread,
Feb 19, 2018, 10:39:27 AM2/19/18
to rspamd
I've been running the 1.7.0 on a separate server and passing all my (low volume) mail through this test server. It seems to work well but I have one problem, I've recently enabled the FANN module, are there any problems using this on the test version?

I'm seeing the following in the logs:

normal    84767    lua    2ce86e    redis_set_cb received error: Connection refused
normal    84767    lua    7afbd6    redis_cache_cb received error: Connection refused
normal    84767    lua    e38160    cannot check if we can train tRFANN73D1A4E710FD47D4260: Connection refused
normal    84767    lua    e38160    redis_get_cb received error: Connection refused
controller 84766 lua    utt7xw    cannot get FANN trains tRFANN73D1A4E710FD47D4260 from redis: Connection refused
normal    84767    lua    8f04fd    redis_cache_cb received error: Connection refused
rspamd_proxy    84765    lua    utt7xw    cannot get FANNS list from redis: Connection refused
normal    84767    lua    utt7xw    cannot get FANNS list from redis: Connection refused
controller    84766    lua    utt7xw    cannot get FANNS list from redis: Connection refused

Obviously I have redis running and enabled:

netstat -tulnp | grep redis
tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      84750/redis-server 

redis-server -v
Redis server v=4.0.8 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=32fcc4a764b07c42

rspamd -v
Rspamd daemon version 1.7.0 - the release version is shown as: 114.git2a22f706c

rspamadm configdump fann_redis
pcre is compiled with JIT for x86 64bit (little endian + unaligned)

*** Section fann_redis ***
servers = "localhost";
train {
    ham_score = -2;
    max_usages = 20;
    spam_score = 8;
    max_train = 1000;
}
enabled = true;
timeout = 20;
use_settings = false;

*** End of section fann_redis ***

Is there any place to report issues with this version of rspamd?

Bill Pye

unread,
Feb 19, 2018, 3:36:01 PM2/19/18
to rspamd
It seems as though the port needs to be specifically defined in the defined in the fann_redis.conf file:


rspamadm configdump fann_redis
pcre is compiled with JIT for x86 64bit (little endian + unaligned)
*** Section fann_redis ***
servers = "127.0.0.1:6379";

train {
    ham_score = -2;
    max_usages = 20;
    spam_score = 8;
    max_train = 1000;
}
enabled = true;
timeout = 20;
use_settings = false;

*** End of section fann_redis ***

The post 1.7 documentation doesn't mention that on this page: https://www.rspamd.com/doc/modules/fann.html

Reply all
Reply to author
Forward
0 new messages