From 941f5266a08135288bb6c47b2c054b9d825472ba Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 24 Mar 2018 22:17:44 +0000 Subject: [PATCH] chown vmail in dovecot; use journalctl driver --- docker-compose.yml | 4 ++++ dovecot/entrypoint.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 6d64479..aad4c2b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,6 +21,8 @@ services: depends_on: - postgrey - dovecot + logging: + driver: journald postgrey: build: postgrey @@ -43,6 +45,8 @@ services: auth: ports: - "143:143" + logging: + driver: journald rainloop: image: runningman84/rainloop diff --git a/dovecot/entrypoint.sh b/dovecot/entrypoint.sh index d5ebca8..c325095 100755 --- a/dovecot/entrypoint.sh +++ b/dovecot/entrypoint.sh @@ -1,4 +1,5 @@ #!/bin/ash +chown vmail:vmail /var/vmail cat >> /etc/dovecot/dovecot-ldap.conf.ext << DOVECOTLDAP hosts = $LDAP_SERVER