Configuring Death2Spam Services
Overall System Configuration
Wrapper Application
A robust wrapper application is used to launch D2S, and to keep it running in the event of a failure. It can be configured by modifying the following entries in the config/wrapper.config file:
wrapper.java.command=java identifies the command to run to start the java runtime. The default assumes java is in the PATH environment variable -- this can be changed to fully specify the path of the java command if so desired.
wrapper.java.initmemory=350 indicates the initial amount of memory (in Megabytes) which will be allocated to the JRE (initial heap size). You must have at least this amount of physical memory in your machine.
wrapper.java.maxmemory=350 indicates the maximum amount of memory (in Megabytes) which the JRE will attempt to use. It is best to keep this value below 80% of the total available physical memory (i.e. the memory available after other applications have been accounted for) to minimize swapping. This number must be equal to, or greater than, the value of initmemory.
Configuring D2S Services
The following notes describe the overall system configuration for D2S services, implemented by modifying entries in the config/system.config file.
system.hostname=<the server's hostname or domain>
system.smtp=true activates the SMTP mail application server.
system.pop=true activates the POP proxy server.
system.debug=true activates the debugging trace to stdout (recommended for fault diagnostics when first starting up a newly-installed service).
Other system configuration properties, if present, should normally retain their default values. Note that removing a boolean config entry is generally equivalent to setting its value to false.
Name Service (DNS)
Locally available DNS services should be designated in the config/dns.config file, as a comma-delimited list of hostnames (or IP addresses). For example:
dns.servers=ns1.death2spam.net,ns2.death2spam.net
D2S Application Servers
More detailed instructions for configuring the Death2Spam command-and-control HTTP server, and each of the various email filtering services, can be found here:
After the wrapper, system and all requisite services have been configured, you should be able to start the Death2Spam server.
|