mailcow/data/Dockerfiles/rspamd/docker-entrypoint.sh

8 lines
346 B
Bash
Raw Normal View History

2017-06-22 17:12:13 +02:00
#!/bin/bash
chown -R _rspamd:_rspamd /var/lib/rspamd
[[ ! -f /etc/rspamd/override.d/worker-controller-password.inc ]] && echo '# Placeholder' > /etc/rspamd/override.d/worker-controller-password.inc
[[ ! -f /etc/rspamd/custom/sa-rules-heinlein ]] && echo '# to be auto-filled by dovecot-mailcow' > /etc/rspamd/custom/sa-rules-heinlein
2017-06-22 17:12:13 +02:00
exec "$@"