[Dovecot] Select action in quarantine script, use nobody to run imapsync cron

This commit is contained in:
andryyy
2020-11-06 12:23:02 +01:00
parent 100650a25e
commit 4e337b308f
3 changed files with 4 additions and 2 deletions

View File

@@ -9,6 +9,8 @@ ENV LC_ALL C
RUN groupadd -g 5000 vmail \
&& groupadd -g 401 dovecot \
&& groupadd -g 402 dovenull \
&& groupadd -g 999 sogo \
&& usermod -a -G sogo nobody \
&& useradd -g vmail -u 5000 vmail -d /var/vmail \
&& useradd -c "Dovecot unprivileged user" -d /dev/null -u 401 -g dovecot -s /bin/false dovecot \
&& useradd -c "Dovecot login user" -d /dev/null -u 402 -g dovenull -s /bin/false dovenull \