chown vmail in dovecot; use journalctl driver

This commit is contained in:
Simon Bruder 2018-03-24 22:17:44 +00:00
parent 6c0aaada4e
commit 941f5266a0
2 changed files with 5 additions and 0 deletions

View file

@ -21,6 +21,8 @@ services:
depends_on: depends_on:
- postgrey - postgrey
- dovecot - dovecot
logging:
driver: journald
postgrey: postgrey:
build: postgrey build: postgrey
@ -43,6 +45,8 @@ services:
auth: auth:
ports: ports:
- "143:143" - "143:143"
logging:
driver: journald
rainloop: rainloop:
image: runningman84/rainloop image: runningman84/rainloop

View file

@ -1,4 +1,5 @@
#!/bin/ash #!/bin/ash
chown vmail:vmail /var/vmail
cat >> /etc/dovecot/dovecot-ldap.conf.ext << DOVECOTLDAP cat >> /etc/dovecot/dovecot-ldap.conf.ext << DOVECOTLDAP
hosts = $LDAP_SERVER hosts = $LDAP_SERVER