• Error when starting kSpam

    By Valmore Blanco Barbosa 1 decade ago

    Hi all .. Please help us…



    We have installed kSpam in Domino 8.0.1 in Linux. .. These errors appears when we typed "load kspam" in domino console…..



    16.11.2009 20:09:21 Remote console command issued by Valmore Blanco/Redsis: load kspam

    16.11.2009 20:09:21 kSpam.bload: Originally by Tom Lyne

    16.11.2009 20:09:21 kSpam.bload: Enhanced by linkgroup.it - Nico Vis

    16.11.2009 20:09:21 kSpam.bload: Linux port by Hans-Georg Franke

    16.11.2009 20:09:21 kSpam.bload: Initializing complete

    16.11.2009 20:09:22 kSpam.bload: KERROR created

    16.11.2009 20:09:22 kSpam.bload: An error occured when trying to load data from file comblist.txt

    16.11.2009 20:09:22 kSpam.bload: File comblist.txt not found

    16.11.2009 20:09:22 kSpam.bload: Loading words Version 1.7b

    16.11.2009 20:09:22 kSpam.bload: Nullhandle returned by NIFReadEntries - No Documents in view

    16.11.2009 20:09:22 kSpam.bload: KERROR created

    16.11.2009 20:09:22 kSpam.bload: Bayesian error with spam data

    16.11.2009 20:09:22 kSpam.bload: Null buffer encountered



    The kspam does not scan any mail… all passed without kspam does anything …



    Any Ideas how fix it ??

    • By Nico Vis 1 decade ago

      Hi,

      is it a 32bit version?

      May you check wih ldd if libkspam.so and kspam if there are the required libraries?

      If working, the mail that arrive should have a KS_IID field.

      Let me know.

    • By Nico Vis 1 decade ago

      Please check also this installation procedure:

      Let menknow.

      regards.

      Nico



      Usually these libtraries are necessary:



      LIBSTDC++.SO.5

      LIBPCRE3-DEV

      LIBPCRE3

      LIBSTDC++2.10



      Check with "ldd libkspam.so":

      nicovis@linux1:~$ ldd libkspam.so

          libnotes.so =&gt; not found<br/>
          libnsl.so.1 =&gt;/lib/libnsl.so.1 (0x40016000)<br/>
          libpthread.so.0 =&gt;/lib/libpthread.so.0 (0x4002c000)<br/>
          libresolv.so.2 =&gt;/lib/libresolv.so.2 (0x4007d000)<br/>
          libdl.so.2 =&gt;/lib/libdl.so.2 (0x4008f000)<br/>
          libpcre.so.0 =&gt; not found<br/>
          libstdc++.so.6 =&gt; not found<br/>
          libm.so.6 =&gt;/lib/libm.so.6 (0x40092000)<br/>
          libc.so.6 =&gt;/lib/libc.so.6 (0x400b5000)<br/>
          libgcc_s.so.1 =&gt;/lib/libgcc_s.so.1 (0x401e8000)<br/>
          lib/ld-linux.so.2 =&gt;/lib/ld-linux.so.2 (0x80000000)<br/>
      



      install the necessay libraries/links

          <br/>
      

      maybe link are necessary

      ln -s/usr/lib/libpcre.so.3/usr/lib/libpcre.so.0



      Copy kspam e libkspam.so inthe domino directory (es:/opt/lotus/notes/latest/linux)

      change rights





      edit and modify the notes.ini

      chmod 555 kspam

      chown root.daemon kspam



      Extmgr_addins=libkspam.so

      ServerTasks=….., kspam



      link files:

      ln -s/opt/lotus/notes/latest/linux/kspam/opt/lotus/bin

      ln -s/opt/lotus/notes/latest/linux/libkspam.so /opt/lotus/bin





      Create (CASE SENSITIVE) mailgood.nsf, mailspam.nsf e KSpamCon.nsf from template





      Create at least 1 doc for each db (1 rule (copy&deny from aaa@bbb.cc)and copy 1 email)

      restart Domino

      check with telnet on 25 from aaa@bbb.cc and see that mail is copy&denied

      • Thanks... What to do respect bayessian funcionality..

        By Valmore Blanco Barbosa 1 decade ago

        Hi… I have been reviewing that you recomended me… but i have an additional question?



        Initially, (do you recommend) turn off bayessian "machine"? Inclusive its Prep and prep2 stages ( are off) ??

    • Re:

      By Tom Lyne 1 decade ago

      Did you create the config database and config document?

      • Yes... We crated the config document...

        By Valmore Blanco Barbosa 1 decade ago

        With the basic configuration …