Welcome to our Knowledge Base. Search or browse through the topics below to find answers to your questions.
Categories: SpamAssassin in a Box | Show all categories
How can I check if SpamAssassin is accessible over the network?
SpamAssassin in a Box configures the SpamAssassin daemon to accept only local requests per default (listening port 783). If you want to make it accept requests over the network, you need to change the startup parameters of SpamD using the SpamAssassinServiceController.config under "C:\ProgramData\JAM Software\spamdService\".
To allow a remote host connections to SpamD, please add the address of the host under AllowedIPs, e.g. "192.168.0.1". To allow conncetions from all clients of the subnet 192.168.0.*, please specify "192.168.0.". In addition to the AllowedIPs options, please ensure that the ListenIP is set to "0.0.0.0." so that connections on any network interface of the the machine that is running the SpamAssassin service are allowed. For further information on the parameters please see chapter Configuration or refer to the official SpamAssassin documentation.
When you have applied the changes, please restart the 'SpamAssassin Daemon Control' service over the Service Control Manager (run -> services.msc) so the daemon can use the new configuration settings. Please also ensure that port 783 (default port of the SpamAssassin daemon) is opened in the Windows firewall or any other similar program. During the installation of "SpamAssassin in a Box" the port is automatically opened in the Windows firewall, if this option hasn't been explicitly disabled in the setup dialogue.
You can now check the network availability of the SpamAssassin daemon by connecting to it from a remote host in your network. You need a program like telnet, putty or the SpamAssassin client 'spamc.exe' that is located in your SpamAssassin in a Box installation directory to establish a connection. If you use the spamc.exe please proceed as follows: