From e03136bf214f4f2fdc3050bfbadcd1e549567969 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 8 Apr 2017 23:36:46 +0200 Subject: [PATCH] Add description to command --- data/Dockerfiles/postfix/postfix.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/Dockerfiles/postfix/postfix.sh b/data/Dockerfiles/postfix/postfix.sh index f2ba03e4..640538b0 100755 --- a/data/Dockerfiles/postfix/postfix.sh +++ b/data/Dockerfiles/postfix/postfix.sh @@ -101,7 +101,10 @@ chown -R 600:600 /var/lib/zeyple/keys chgrp -R postdrop /var/spool/postfix/public chgrp -R postdrop /var/spool/postfix/maildrop postfix set-permissions + +# Check Postfix configuration postconf -c /opt/postfix/conf + if [[ $? != 0 ]]; then echo "Postfix configuration error, refusing to start." exit 1