# Update Apache SpamAssassin™ configuration This function configures your Apache SpamAssassin™ options. When you disable the Spam Filter role, the system disables this function. Endpoint: GET /save_spamd_config Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `allowedips` (string) A comma-separated list of IP addresses to authorize to access the spamd daemon. * If you do specify a value, the daemon allows connections from any IP address. * If you set a value for this parameter, it include in the list of values so that the daemon can access the daemon. Example: "127.0.0.1,192.168.0.1" - `maxchildren` (integer) The maximum number of children per process. Example: 5 - `maxconnperchild` (integer) The maximum number of connections that the daemon allows per child process. Example: 200 - `pidfile` (string) The process ID's file path. This parameter changes the daemon's process ID filepath. On systems that use the daemon, you must update the parameter in the definition. If you do not update the parameter, the daemon will fail to function because the PID path and the parameter will not match. Example: "/var/run/spamd.pid" - `timeoutchild` (integer) The maximum amount of time that a child process waits before it abandons a TCP connection. If the value of this parameter is , child processes will abandon TCP connections. Example: 300 - `timeouttcp` (integer) The maximum amount of time that the daemon waits before it abandons a TCP connection. If the value of this parameter is , will abandon TCP connections. Example: 30 ## Response 200 fields (application/json): - `metadata` (object) - `metadata.command` (string) The method name called. Example: "save_spamd_config" - `metadata.reason` (string) The reason the API function failed when the field is . This field may display a success message when a function succeeds. Example: "OK" - `metadata.result` (integer) * - Success. * - Failed. Check the field for more details. Enum: 0, 1 - `metadata.version` (integer) The version of the API function. Example: 1