#!/bin/sh SECURE_IP=${SECURE_IP:-"127.0.0.1"} PASSWORD=${PASSWORD:-"mailu"} ENABLE_PASSWORD=${ENABLE_PASSWORD:-$PASSWORD} cat << EOF > /etc/rspamd/override.d/worker-controller.inc bind_socket = "0.0.0.0:${PORT}"; secure_ip = "${SECURE_IP}"; password = "${PASSWORD}"; enable_password = "${PASSWORD}"; EOF /usr/sbin/rspamd -f --insecure