Fixed paths

This commit is contained in:
Thomas VIAL 2016-04-13 21:43:15 +02:00
parent 1db622cab9
commit 545922fefa

View file

@ -5,6 +5,12 @@ die () {
exit 1
}
#
# Preparing
#
mkdir -p /tmp/docker-mailserver/tmp
#
# Users
#
@ -51,8 +57,8 @@ if [ -f /tmp/docker-mailserver/postfix-accounts.cf ]; then
touch "/var/mail/${domain}/${user}/.Sent/maildirfolder"
fi
echo ${domain} >> /tmp/vhost.tmp
done < /tmp/postfix/accounts.cf
echo ${domain} >> /tmp/docker-mailserver/tmp/vhost.tmp
done < /tmp/docker-mailserver/postfix-accounts.cf
else
echo "==> Warning: 'config/docker-mailserver/postfix-accounts.cf' is not provided. No mail account created."
fi