mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
update postfix
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
6254f5bc19
commit
f88d96ab71
|
@ -80,4 +80,17 @@ if [[ ! -z "$SASL_AUTH" ]]; then
|
||||||
chmod 600 /etc/postfix/sasl_passwd.db
|
chmod 600 /etc/postfix/sasl_passwd.db
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/usr/lib/postfix/master -c /etc/postfix -d 2>&1
|
if [[ -f "/usr/libexec/postfix/master" ]]; then
|
||||||
|
cmd="/usr/libexec/postfix/master"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f "/usr/lib/postfix/master" ]]; then
|
||||||
|
cmd="/usr/lib/postfix/master"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z "$cmd" ]]; then
|
||||||
|
echo "Could not find postfix master in /usr/lib or /usr/libexec"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
"$cmd" -c /etc/postfix -d 2>&1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user