• kSpam 1.5 does not use bayesian filter.

    By Armin Baldemair 2 decades ago

    Hi,



    I installed kSpam 1.5 on my domino server 7.0 (WinNT 5.1).



    After creating the two databases i filled each with about 1500 mails.

    I configured 1 Rule: Deny mails if subject includes "[SPAM]"… <- spamcheck on relay-server using SpamAssassin. All other mails should be checked with kSpam's bayesian filter.



    I get about 150 spammails per day. kSpam filtered 0. What could be wrong? It seems, that kSpam does not use the bayesian filter.



    Configuration:

    KS_BAYESIAN_FILTER = Yes

    KS_BL_PERIOD = 360

    KS_BAYESIAN_BOUNDARY = 75%

    KS_BAYESIAN_MARK = Yes

    KS_BAYESIAN_RATIO = 10

    KS_BAYESIAN_ACTION = 1 - Mark

    KS_BAYESIAN_ACTION_MARK_WITH = [kSPAM]



    I turned on the debug-textfile and got the following message in ks_log.txt:

    ERROR 5.2.1: kSpam.bload calculating probabilties or not loaded.

    ERROR 5.1.1: Bayesian data not loaded. P:0.0000



    The bload.txt file has not been created.

    Can anybody help me?



    Thanks,

    Armin

    • By Henning Vinther 2 decades ago

      Hi.



      I've just installed 1.5 on a Domino 7.0.1/Win 2K3 server and finaly got it to work, maybe you are seeing the same problems:



      Did you remember to sign with server id?



      Also I used a special folder in data to isolate kspam mail and conf files, DONT!. after mooving them to the "root" everything works like a dream.



      When SMTP starts, kspam logs that it is loading rules, then that it has finished, bload starts, it loads words for a couple of minutes - I've filtered the MIME-CD out, then reports that it has finished calculating probabilities and is ready. From the content of comblist.txt it is clear that it has read my mailgood and mailspam databases – so for now all appears good



      -Well despite the Copy & Deny seems to work in the opposite way; Deny & Copy… AEhhhmmm



      /Henning