Some changes

This commit is contained in:
andryyy
2016-12-12 09:26:27 +01:00
parent 2135f17de5
commit 57ca2b9f55
4 changed files with 8 additions and 8 deletions
-5
View File
@@ -36,15 +36,10 @@ else
build
fi
sed -i "/myhostname/c\myhostname=${MAILCOW_HOSTNAME}" data/conf/postfix/main.cf
sed -i "/^user/c\user = ${DBUSER}" data/conf/postfix/sql/*
sed -i "/^password/c\password = ${DBPASS}" data/conf/postfix/sql/*
sed -i "/^dbname/c\dbname = ${DBNAME}" data/conf/postfix/sql/*
if [[ -z $(cat data/conf/postfix/main.cf | grep ${DOCKER_SUBNET}) ]]; then
sed -i -e "s_^mynetworks.*_& ${DOCKER_SUBNET}_" data/conf/postfix/main.cf
fi
docker run \
-p ${SMTP_PORT}:25 \
-p ${SMTPS_PORT}:465 \