Platform-Specific Installation Instructions
There are several pieces of software available that can be used to install JSpamFilter as a service. We've successfully tested "JavaService" from http://javaservice.objectweb.org. Once javaservice.exe was copied to, for instance, C:\JSpamFilter directory, the one-line command used was (from within the JSpamFilter directory): (Your browser will probably word-wrap this to several lines; change the path to the jvm.dll to match your Java installation:)
At this point, you should be able to start the service by typing:
If you have problems, check stdout.txt and stderr.txt for error messages. The class name in the "-start" parameter is case sensitive; if you get "Java.lang.NoClassDefFoundError:jspamfilter", it means you typed "-start jspamfilter" instead of "-start JSpamFilter". Run the command "javaservice -uninstall JSpamFilter" and try again. UNIX-like Systems: Installation of JSpamFilter amounts to downloading the Full Archive, decompressing the archive to the directory of your choice and then simply add this command:
to your RC scripts. (Change the paths as appropriate to reflect the directory into you which you decompressed the archive). You then establish the settings for JSpamFilter by editing the JSpamFilter.conf file that comes with the archive. While there is no graphical installer yet for non-Windows installation, the installation instructions for the graphical installer available here do cover the parameters and choices appropriate for installations on all platforms. Novell Netware / Groupwise: JSpamFilter requires a JVM version of 1.3 or higher. If required, newer versions of the Novell JVM can be downloaded from http://download.novell.com/filedist/pages/PublicSearch.jsp. Load java.nlm, then execute JSpamFilter with a command something like this:
You can set the listening port for the GWIA to 26 by following the instructions here: http://support.novell.com/cgi-bin/search/searchtid.cgi?/10072891.htm Uninstalling JSpamFilter To uninstall JSpamFilter for Microsoft Windows, run the following command from a console: UninstallService.bat
Note that you have to be "in" the JSpamFilter directory (where the UninstallService.bat file is located). This will unistall the JavaService; then just delete the JSpamFilter directory. |