Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.46

(Home >> Email >> Spamd Startup Configuration)

Overview

Apache SpamAssassin™ is a spam filter utility that examines incoming email and tests for spam characteristics. If you enable Apache SpamAssassin on your server, the Apache SpamAssassin daemon (spamd) provides the Apache SpamAssassin service to your mail server.

Use the Spamd Startup Configuration interface to configure the startup options for the Apache SpamAssassin daemon.

Notes:

  • To turn Apache SpamAssassin on or off, use the Tweak Settings interface (Home >> Server Configuration >> Tweak Settings).
  • For more information on Apache SpamAssassin, read our Apache SpamAssassin documentation.
  • The spamd script is in the /usr/local/cpanel/scripts directory. For more information, read our WHM Scripts documentation.

Configure options

To configure the options that the Apache SpamAssassin daemon uses at startup, perform the following steps:

  1. Enter the desired value for the option that you wish to change.
  2. Click Save.

The following table describes the available options:

OptionDescriptionDefault valueMinimum value
Allowed IPs

To allow only connections from specific IP addresses to access the spamd daemon, enter the IP address in the Allowed IPs text box. If you do not enter a value, the spamd daemon allows connections from any IP address.

Warning:

If you restrict access to the spamd daemon, you must include the local IP address (127.0.0.1) to ensure that the chkservd daemon can access the spamd daemon. If you do not include this IP address in the Allowed IPs list, the spamd daemon will fail.

Note:

Separate multiple IP addresses with a comma. 

  
Maximum Connections per Child

To change the maximum number of connections that a spamd child process may have, enter the maximum number of connections in the Maximum Connections per Child text box. After a spamd child process reaches the maximum number of connections, the spamd daemon will abandon the child process.

2001
Maximum ChildrenTo define a maximum number of children that a spamd process can spawn at startup, enter the maximum number of children in the Maximum Children text box.5 1
PID FileTo define a custom location of the spamd.pid file, enter the location in the PID File text box./var/run/spamd.pid 
TCP Timeout

To define a length of time that you wish for the spamd daemon to wait before it abandons a TCP connection, enter the amount of time, in seconds, in the TCP Timeout text box. If you set the value to 0, the spamd daemon will not abandon TCP connections.

301
TCP Child Timeout

To define a length of time that you wish for a child process to wait before it abandons a TCP connection, enter the amount of time, in seconds, in the TCP Child Timeout text box. If you set the value to 0, the spamd daemon child processes will not abandon TCP connections.

3001