Self Help Documentation
Spamd Startup Configuration
We advice to use the following settings in WHM/cPanel (Spamd Startup Configuration)
Allowed IPs:
- 127.0.0.1
This restricts spamd to only accept connections from the local server, enhancing security by preventing external IPs from connecting to the spamd service.
Maximum Connections per Child:
- 300
This allows each spamd child process to handle up to 300 connections before being terminated. This is a balanced number that ensures performance without overloading the server.
Maximum Children:
- 5-10
This controls how many spamd child processes are started. A range of 5 to 10 is usually sufficient, depending on your server’s capacity and email traffic volume. You can start with 5 and increase it if you notice spamd being overwhelmed.
TCP Timeout:
- 30 seconds
This is the time a connection can remain idle before being abandoned. Thirty seconds is a good default that provides flexibility without holding onto resources too long.
TCP Child Timeout:
- 300 seconds (5 minutes)
This is the time a child process will wait before abandoning a connection. A 5-minute timeout gives enough time for processing without leaving resources tied up unnecessarily.