complain when rspamd is missing
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2022-03-29 11:46:41 -03:00
parent bab360cd07
commit bbeeab9613

View file

@ -2,6 +2,11 @@
case $1 in
start)
if test -z "${RSPAMD}" ; then
echo "Missing rspamd hostname" >&2
exit 1
fi
# Reconfigure postfix according to environment
postconf -e myhostname="${SUTTY}"
postconf -e mydomain="${SUTTY}"