diff --git a/Containerfile b/Containerfile index 48522b6..c46e481 100644 --- a/Containerfile +++ b/Containerfile @@ -33,8 +33,8 @@ RUN adduser -D -G imapfilter imapfilter RUN cat /etc/passwd # ensure a homedirectory for the user exists and has correct access rights RUN mkdir -p /home/imapfilter -RUN chown imapfilter.imapfilter /home/imapfilter - +RUN chown imapfilter /home/imapfilter +RUN chgrp imapfilter /home/imapfilter # run everything as the imapfilter user USER imapfilter