rspamd worker-controller type attribute

Hi,

in the default installation of ISPConfig the file /etc/rspamd/local.d/worker-controller.inc contains the following lines:

# Included from top-level .conf file

type = "controller";
count = 1;
password = "{REDACTED}";
secure_ip = "127.0.0.1";
secure_ip = "::1";
static_dir = "${WWWDIR}";

which results in the following error message in the rspamd logs and while running rspamadm commands:

unkown worker attribute: type; worker type: controller

According to the official documentation of rspamd there is no attribute type for controller configuration and we should remove that line. See https://rspamd.com/doc/workers/controller.html for all available attributes.

Edited by pyte (Demian)