You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
348 B
14 lines
348 B
#!/bin/sh
|
|
|
|
SECURE_IP=${SECURE_IP:-"127.0.0.1"}
|
|
PASSWORD=${PASSWORD:-"mailu"}
|
|
ENABLE_PASSWORD=${ENABLE_PASSWORD:-$PASSWORD}
|
|
|
|
cat << EOF > /etc/rspamd/local.d/worker-controller.inc
|
|
secure_ip = "${SECURE_IP}";
|
|
password = "${PASSWORD}";
|
|
enable_password = "${PASSWORD}";
|
|
EOF
|
|
|
|
rspamd -f -u rspamd -g rspamd
|
|
ln -sf /proc/1/fd/1 /var/log/rspamd/rspamd.log
|
|
|