I got it running.
Putting links to the 3 missing libraries into the/usr/lib folder let it finally find the 3 notes libraries, that kspam and libkspam.so are invoking.
Next, the code is crashing the server not only if there is no rule in the config database, kspam is also crashing the whole server (!!!!!), when mailgood or mailpsam don't have any messages in it (NullHandleLookup exception).
Now it is still crashing, the server on startup, if I put kspam into the ServerTasks= entry in notes.ini. If I don't do that and start kspam with "load kspam" from the console, anything is starting up. Smells like a timing problem and no decent error handling :-(
Now that kspam is finally running, it does touch all the mails and putting in the ks_iid field, but nothing else is happening. I have all set to do marking the message, but it does not do that.
Any thoughts why that could be?
Thanks