diff --git a/docker-data/entrypoint.sh b/docker-data/entrypoint.sh index 15f7066..5c42844 100755 --- a/docker-data/entrypoint.sh +++ b/docker-data/entrypoint.sh @@ -7,6 +7,10 @@ groupadd -g 5000 vmail \ && usermod -aG vmail postfix \ && usermod -aG vmail dovecot +mkdir -p /var/mail/vhosts \ + && chown -R vmail:vmail /var/mail/vhosts \ + && chmod -R 775 /var/mail/vhosts + # apply ansible configs cd ansible ansible-playbook playbook.yml