[Rspamd-Users] Rspamd Bayes configuration disappeared

Emanuel Gonzalez emanuel_gonzalez at live.com.ar
Fri Nov 8 18:35:47 UTC 2019


Hi,

I lost the configuration of the bayes, it was working correctly

Example:

2019-10-30 04:04:11 #14576(normal) <24ac42>; task; rspamd_task_write_log: id: <44558aa16a50ee33ff6557bbe75fcfb0 at mikrowisp>, qid: <1iPi1a-0002ba-Cw>, ip: 181.92.237.198, user: no-reply at tuwifi.com.ar, from: <soporte at tuwifi.com.ar>, (default: F (no action): [2.67/30.00] [SUBJ_EXCESS_QP(1.20){},AUTOGEN_PHP_SPAMMY(1.00){},MID_RHS_NOT_FQDN(0.50){},MIME_GOOD(-0.10){multipart/alternative;text/plain;},MANY_INVISIBLE_PARTS(0.05){1;},BAYES_SPAM(0.02){50.13%;},ARC_NA(0.00){},ASN(0.00){asn:7303, ipnet:181.92.224.0/20, country:AR;},FROM_EQ_ENVFROM(0.00){},FROM_HAS_DN(0.00){},HAS_PHPMAILER_SIG(0.00){},HAS_REPLYTO(0.00){soporte at tuwifi.com.ar;},HAS_X_PRIO_THREE(0.00){3;},MIME_TRACE(0.00){0:+;1:+;2:~;},RCPT_COUNT_ONE(0.00){1;},RCVD_COUNT_ONE(0.00){1;},RCVD_TLS_ALL(0.00){},RCVD_VIA_SMTP_AUTH(0.00){},REPLYTO_EQ_FROM(0.00){},SUBJECT_HAS_EXCLAIM(0.00){},SUBJECT_HAS_QUESTION(0.00){},TO_DN_NONE(0.00){},TO_MATCH_ENVRCPT_ALL(0.00){}]), len: 4507, time: 1002.787ms real, 6.456ms virtual, dns req: 4, digest: <1471f3c5c88741ab6cfbabf6933702a6>, rcpts: <guillermo.beker at gmaail.com>, mime_rcpts: <guillermo.beker at gmaail.com>

Now see this message

2019-11-08 14:56:51 #4843(normal) <7f3310>; bayes; bayes_classify: no tokens found in bayes database (64 total tokens, 44 text tokens), ignore stats
2019-11-08 15:03:06 #4843(normal) <eeffff>; bayes; bayes_classify: no tokens found in bayes database (80 total tokens, 60 text tokens), ignore stats
2019-11-08 15:04:31 #4844(normal) <d12482>; bayes; bayes_classify: ignore bayes probability since we have found too few text tokens: 0 (of 48 checked), at least 1 is required
2019-11-08 15:05:03 #4843(normal) <7c3a5c>; bayes; bayes_classify: ignore bayes probability since we have found too few text tokens: 0 (of 36 checked), at least 1 is required
2019-11-08 15:05:04 #4843(normal) <7fe52d>; bayes; bayes_classify: ignore bayes probability since we have found too few text tokens: 0 (of 64 checked), at least 1 is required
2019-11-08 15:05:35 #4844(normal) <ffdf54>; bayes; bayes_classify: no tokens found in bayes database (28 total tokens, 4 text tokens), ignore stats
2019-11-08 15:05:45 #4844(normal) <eaa089>; bayes; bayes_classify: no tokens found in bayes database (80 total tokens, 48 text tokens), ignore stats
2019-11-08 15:07:50 #4844(normal) <e064a8>; bayes; bayes_classify: ignore bayes probability since we have found too few text tokens: 0 (of 64 checked), at least 1 is required
2019-11-08 15:13:27 #4843(normal) <a048e6>; bayes; bayes_classify: no tokens found in bayes database (72 total tokens, 48 text tokens), ignore stats
2019-11-08 15:14:51 #4844(normal) <a85286>; bayes; bayes_classify: no tokens found in bayes database (76 total tokens, 52 text tokens), ignore stats
2019-11-08 15:19:00 #4844(normal) <2d6bcc>; bayes; bayes_classify: no tokens found in bayes database (88 total tokens, 64 text tokens), ignore stats

I am in serious trouble

cache {
 backend = "redis";
 }

backend = "redis";
new_schema = true;
per_user = true;
expire = 2144448000;
autolearn = false;

     statfile {
               symbol = "BAYES_HAM";
               spam = false;
   }
       statfile {
               symbol = "BAYES_SPAM";
               spam = true;
   }

I have a backup of the / var / lib / rspamd directory and the redis database, can you help me restore the configuration?

Regards.!!


More information about the Users mailing list