I have no skill in development, but maybe this info could help: beginning with OS/400 v5r1m0 (maybe before) there is PASE (Portable App Soft Environment) which allow unix apps to run on the box: as an example, IBM did not port DDNS BIND v 8.23 to OS/400 but allow the AIX version to run on the AS/400, leaving DNS not dynamic v 4 run on non PASE enabled machines.
If you give me some guidelines I could try to start something. I my mind, kSpam should run at server side, tell me if I'm wrong.
Bye
Fabrice
free or very very small fee for support media.