Skip to content

Commit

Permalink
make sure mail folder has correct permissions when mounted from exter…
Browse files Browse the repository at this point in the history
…nal docker guest
  • Loading branch information
kristijorgji committed Jul 26, 2022
1 parent 359a894 commit d5798b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-data/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5798b7

Please sign in to comment.