[Rspamd-Users] Spamtrap not learning spam

m.eckardt at secmailpro.eu m.eckardt at secmailpro.eu
Sun Oct 11 20:53:09 UTC 2020


this is a new rspamd setup, not a lot of mails there. I have setup 
spamtrap module with this configuration:

learn_spam = true;
enabled = true;
action = "no action";
score = 1.0;
map = file://$LOCAL_CONFDIR/local.d/spamtrap.map

I can see in the WebUI that 'SPAMTRAP' Symbol is present in messages 
deliverd to my spamtrap mail, but bayes learns are not increasing. What 
am I missing?



This is my rspamd.log with debug module spamtrap:

2020-10-11 22:28:58 #14557(normal) <61ddee>; task; 
rspamd_redis_connected: skip obtaining bayes tokens for BAYES_HAM of 
classifier bayes: not enough learns 1; 200 required
2020-10-11 22:28:58 #14557(normal) <61ddee>; task; 
rspamd_redis_connected: skip obtaining bayes tokens for BAYES_SPAM of 
classifier bayes: not enough learns 4; 200 required
2020-10-11 22:28:58 #14557(normal) <61ddee>; task; rspamd_task_process: 
learn error: Cannot learn statistics when passthrough result has been 
set; not classified
2020-10-11 22:28:58 #14557(normal) <61ddee>; task; 
rspamd_task_write_log: id: <406047029.144714.1602448130221 at email.df.eu>, 
qid: <AF8893F62F>, ip:, from: <milan at eckardtson.de>, 
(default: F (no action): [16.40/15.00] 
[URIBL_BLACK(7.00){mummywork.com:email;},ABUSE_SURBL(5.50){mummywork.com:email;},HTML_SHORT_LINK_IMG_1(2.00){},AUTH_NA(1.00){},SPAMTRAP(1.00){smp_learner at secmailpro.eu;},MIME_GOOD(-0.10){multipart/alternative;text/plain;},ARC_NA(0.00){},ARC_SIGNED(0.00){secmailpro.eu:s=2020:i=1;},ASN(0.00){asn:8972, 
SPF record;},TO_DN_EQ_ADDR_ALL(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), 
len: 4643, time: 1235.755ms, dns req: 34, digest: 
<77bcf7df87b979f6904249de3f094e21>, rcpts: <smp_learner at secmailpro.eu>, 
mime_rcpts: <smp_learner at secmailpro.eu>, forced: no action "message 
accepted"; score=nan (set by spamtrap)
2020-10-11 22:28:58 #14557(normal) <61ddee>; task; 
rspamd_protocol_http_reply: regexp statistics: 0 pcre regexps scanned, 3 
regexps matched, 187 regexps total, 81 regexps cached, 0B scanned using 
pcre, 7.48KiB scanned total

More information about the Users mailing list