Hello me, ;-)
Somehow database got corrupted - they dont seem to re-create by themself - you could, I guess initialize the database from your own mail, or have download It from http://www.fsl.com/support/index.html That's what I have done, and now everything seems ok; an 12 17:08:52 newmail amavis[14680]: (14680-02) SPAM, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Yes, score=7.127 tag=0 tag2=5.8 kill=5.8 tests=[ALL_TRUSTED=-0.36, BAYES_50=0.001, DATE_IN_FUTURE_06_12=1.668, DC_IMG_TEXT_RATIO=1, HTML_90_100=0.113, HTML_IMAGE_ONLY_24=1.841, HTML_IMAGE_RATIO_02=0.463, HTML_MESSAGE=0.001, L_P0F_D14=0.5, L_P0F_W=1.9], autolearn=no, quarantine eyuOltzMmwxv (spam-quarantine) Jan 12 17:08:57 newmail amavis[14683]: (14683-02) SPAM, <McClain'[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Yes, score=17.227 tag=0 tag2=5.8 kill=5.8 tests=[BAYES_50=0.001, DATE_IN_FUTURE_03_06=1.961, DCC_CHECK=6, DIGEST_MULTIPLE=0.765, L_P0F_D17=0.6, L_P0F_W=1.9, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E4_51_100=1.5, RAZOR2_CHECK=4], autolearn=spam, quarantine 61Q5mvFRAOvr (spam-quarantine) Important part is : autolearn = spam. In case somebody faces the same problem one day… Le 12 janv. 07 à 14:21, bsd a écrit : > Hello, > > > I have a problem that I can't solve (on another server (not the one > related to previous thread))… > > Bayesian learning does not work any longer !! > > I have tried to : > > - recreate the .spamassassin folder > - change permission to vscan:vscan > - change permission to spamd:spamd > > Here are my options for local.cf file : > >> report_safe 0 >> >> use_bayes 1 >> bayes_auto_learn 1 >> bayes_path /var/amavisd/.spamassassin/bayes >> bayes_file_mode 0770 >> razor_config /var/amavis/.razor/razor-agent.conf >> #use_auto_whitelist /var/amavis/.spamassassin/auto-whitelist >> >> skip_rbl_checks 0 >> use_razor2 1 >> use_dcc 1 > > > And a debug of amavis with detailed bayes info. > > > >> $ amavisd -d bayes,learn debug-sa >> [48202] dbg: bayes: no dbs present, cannot tie DB R/O: /var/ >> amavisd/.spamassassin/bayes_toks >> [48202] dbg: bayes: no dbs present, cannot tie DB R/O: /var/ >> amavisd/.spamassassin/bayes_toks >> [48202] info: rules: meta test DIGEST_MULTIPLE has undefined >> dependency 'PYZOR_CHECK' >> auto-whitelist: open of auto-whitelist file failed: locker: >> safe_lock: cannot create tmp lockfile /var/amavis/.spamassassin/ >> auto-whitelist.lock.newmail.rmm.fr.48202 for /var/ >> amavis/.spamassassin/auto-whitelist.lock: Permission denied >> [48208] dbg: bayes: no dbs present, cannot tie DB R/O: /var/ >> amavisd/.spamassassin/bayes_toks >> [48208] dbg: bayes: no dbs present, cannot tie DB R/O: /var/ >> amavisd/.spamassassin/bayes_toks >> [48208] dbg: bayes: not scoring message, returning undef >> [48208] dbg: bayes: opportunistic call attempt failed, DB not >> readable >> auto-whitelist: open of auto-whitelist file failed: locker: >> safe_lock: cannot create tmp lockfile /var/amavis/.spamassassin/ >> auto-whitelist.lock.newmail.rmm.fr.48208 for /var/ >> amavis/.spamassassin/auto-whitelist.lock: Permission denied >> [48208] dbg: learn: auto-learn: currently using scoreset 1 >> [48208] dbg: learn: auto-learn: message score: -0.659, computed >> score for autolearn: -0.659 >> [48208] dbg: learn: auto-learn? ham=0.1, spam=12, body- >> points=0.001, head-points=-0.66, learned-points=0 >> [48208] dbg: learn: auto-learn? yes, ham (-0.659 < 0.1) >> [48208] dbg: learn: initializing learner >> [48208] dbg: learn: learning ham >> [48208] dbg: learn: initializing learner >> [48208] dbg: learn: auto-learning failed: bayes: locker: safe_lock: >> cannot create tmp lockfile /var/amavisd/.spamassassin/ >> bayes.lock.newmail.rmm.fr.48208 for /var/amavisd/.spamassassin/ >> bayes.lock: Permission denied >> [48209] dbg: bayes: no dbs present, cannot tie DB R/O: /var/ >> amavisd/.spamassassin/bayes_toks >> [48209] dbg: bayes: no dbs present, cannot tie DB R/O: /var/ >> amavisd/.spamassassin/bayes_toks >> [48209] dbg: bayes: not scoring message, returning undef >> [48209] dbg: bayes: opportunistic call attempt failed, DB not >> readable >> [48210] dbg: bayes: no dbs present, cannot tie DB R/O: /var/ >> amavisd/.spamassassin/bayes_toks >> [48210] dbg: bayes: no dbs present, cannot tie DB R/O: /var/ >> amavisd/.spamassassin/bayes_toks >> [48210] dbg: bayes: not scoring message, returning undef >> [48210] dbg: bayes: opportunistic call attempt failed, DB not >> readable >> auto-whitelist: open of auto-whitelist file failed: locker: >> safe_lock: cannot create tmp lockfile /var/amavis/.spamassassin/ >> auto-whitelist.lock.newmail.rmm.fr.48209 for /var/ >> amavis/.spamassassin/auto-whitelist.lock: Permission denied >> [48209] dbg: learn: auto-learn: currently using scoreset 1 >> [48209] dbg: learn: auto-learn: message score: 20.805, computed >> score for autolearn: 20.805 >> [48209] dbg: learn: auto-learn? ham=0.1, spam=12, body- >> points=18.49, head-points=9.04, learned-points=0 >> [48209] dbg: learn: auto-learn? yes, spam (20.805 > 12) >> [48209] dbg: learn: initializing learner >> [48209] dbg: learn: learning spam >> [48209] dbg: learn: initializing learner >> [48209] dbg: learn: auto-learning failed: bayes: locker: safe_lock: >> cannot create tmp lockfile /var/amavisd/.spamassassin/ >> bayes.lock.newmail.rmm.fr.48209 for /var/amavisd/.spamassassin/ >> bayes.lock: Permission denied >> auto-whitelist: open of auto-whitelist file failed: locker: >> safe_lock: cannot create tmp lockfile /var/amavis/.spamassassin/ >> auto-whitelist.lock.newmail.rmm.fr.48210 for /var/ >> amavis/.spamassassin/auto-whitelist.lock: Permission denied >> [48210] dbg: learn: auto-learn: currently using scoreset 1 >> [48210] dbg: learn: auto-learn: message score: 4.544, computed >> score for autolearn: 4.544 >> [48210] dbg: learn: auto-learn? ham=0.1, spam=12, body- >> points=0.001, head-points=4.543, learned-points=0 >> [48210] dbg: learn: auto-learn? no: inside auto-learn thresholds, >> not considered ham or spam > > > Thanks for your help. > > ________________________________________________ > «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ > ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > Gregober ---> PGP ID --> 0x1BA3C2FD > bsd @at@ todoo.biz > ________________________________________________ > «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ > ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > > P "Please consider your environmental responsibility before printing > this e-mail" > > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > AMaViS-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ ________________________________________________ «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ________________________________________________ «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ P "Please consider your environmental responsibility before printing this e-mail" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
