[Rspamd-Users] "no runtime for backend redis; " -- "Unknown statistics error"

Håkon Alstadheim hakon at alstadheim.priv.no
Wed Apr 1 11:15:35 UTC 2020


I'm getting the messages you see in the subject on a regular basis, need 
I worry? What did I mess up? Most of the time the bayes module seems to 
work well, with correct scores being added to incoming, and learning 
returning something like:

>   Results for file: stdin (0.028 seconds);success = true;filename = 
"stdin";scan_time = 0.028014;

I'm running rspamd on debian, viz:

# dpkg -l rspamd|cat
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version                       Architecture Description
+++-==============-=============================-============-=================================
hi  rspamd         2.5-0~git151~b020e80f6~buster amd64 Rapid spam 
filtering system
--

The reason I'm running the git version is I had some error with the 
stable version, I forget what.

I find the configuration a bit confusing, I've tried separating out the 
redis into three instances, and adding port-numbers where I saw fit, like:

--- local.d/classifier-bayes.conf: ---

servers = "127.0.0.1:6378";
backend = "redis";
timeout = 20s;
new_schema = true;
autolearn = [1, 12 ];
expire = 8640000;
--- ---

I've also tried removing old/deprecated configuration-files from 
/etc/redis/*/ , but I don't know if I caught them all.

My site is low volume (private amateur home-server) .

-------------- Excerpt from mail.log: -------------

Apr  1 10:06:04 garbo postfix-incoming/postscreen[20236]: CONNECT from 
[216.169.99.72]:14190 to [148.252.96.12]:25
Apr  1 10:06:05 garbo postfix-incoming/postscreen[20236]: PASS OLD 
[216.169.99.72]:14190
Apr  1 10:06:05 garbo postfix-incoming/postscreen[20236]: warning: 
psc_cache_update: btree:/var/lib/postfix-incoming/postscreen_cache 
update average delay is 117 ms
Apr  1 10:06:05 garbo postfix-incoming/smtpd[20243]: connect from 
pn72.mxout.mta2.net[216.169.99.72]:14190
Apr  1 10:06:05 garbo postfix-incoming/smtpd[20243]: A53DFF0E1017: 
client=pn72.mxout.mta2.net[216.169.99.72]:14190
Apr  1 10:06:05 garbo postfix-incoming/cleanup[20292]: A53DFF0E1017: 
message-id=<4ua98u8ox8za.YEil4F8d7xWMq3rVgR9zWQ2 at REPLACED-SPAMMY-DOMAIN-TO-AVOID-FILTERS.com>
Apr  1 10:06:06 garbo rspamd[22059]: <d02537>; proxy; 
rspamd_stat_backends_learn: no runtime for backend redis; classifier 
bayes; symbol BAYES_SPAM
Apr  1 10:06:06 garbo rspamd[22059]: <d02537>; proxy; 
rspamd_stat_backends_learn: no runtime for backend redis; classifier 
bayes; symbol BAYES_HAM
Apr  1 10:06:06 garbo rspamd[22059]: <d02537>; proxy; 
rspamd_task_process: learn error: Unknown statistics error, found when 
storing data on backend; classifier: bayes
Apr  1 10:06:06 garbo rspamd[22059]: <d02537>; proxy; 
rspamd_task_write_log: id: 
<4ua98u8ox8za.YEil4F8d7xWMq3rVgR9zWQ2 at REPLACED-SPAMMY-DOMAIN-TO-AVOID-FILTERS.com>, 
qid: <A53DFF0E1017>, ip: 216.169.99.72, from: 
<info=hire-gruppe.com at bounces.elasticemail.net>, (default: F (soft 
reject): [0.00/400.00] [ASN(0.00){asn:15149, ipnet:216.169.96.0/19, 
country:US;},GREYLIST(0.00){greylisted;Wed, 01 Apr 2020 08:10:04 GMT;too 
early;}]), len: 59529, time: 7.487ms, dns req: 1, digest: 
<3da4af9f96933218c4d4ad9c7b359b6f>, rcpts: 
<firmapost at alstadheim.priv.no>, mime_rcpts: 
<firmapost at alstadheim.priv.no>, forced: soft reject "Try again later"; 
score=nan (set by greylist)
Apr  1 10:06:06 garbo rspamd[22059]: <d02537>; proxy; 
rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 0 
regexps matched, 184 regexps total, 0 regexps cached, 0B scanned using 
pcre, 0B scanned total
Apr  1 10:06:06 garbo postfix-incoming/cleanup[20292]: A53DFF0E1017: 
milter-reject: END-OF-MESSAGE from pn72.mxout.mta2.net[216.169.99.72]: 
4.7.1 Try again later; 
from=<info=hire-gruppe.com at bounces.elasticemail.net> 
to=<firmapost at alstadheim.priv.no> proto=ESMTP helo=<pn72.mxout.mta2.net>
Apr  1 10:06:06 garbo postfix-incoming/smtpd[20243]: disconnect from 
pn72.mxout.mta2.net[216.169.99.72]:14190 ehlo=1 mail=1 rcpt=1 data=0/1 
quit=1 commands=4/5




More information about the Users mailing list