complain when rspamd is missing
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
bab360cd07
commit
bbeeab9613
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
start)
|
start)
|
||||||
|
if test -z "${RSPAMD}" ; then
|
||||||
|
echo "Missing rspamd hostname" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Reconfigure postfix according to environment
|
# Reconfigure postfix according to environment
|
||||||
postconf -e myhostname="${SUTTY}"
|
postconf -e myhostname="${SUTTY}"
|
||||||
postconf -e mydomain="${SUTTY}"
|
postconf -e mydomain="${SUTTY}"
|
||||||
|
|
Loading…
Reference in a new issue