Dovecot imapsync changes

This commit is contained in:
andryyy
2017-01-15 17:38:54 +01:00
parent 085be87eb5
commit 1587c73dad
2 changed files with 22 additions and 21 deletions

View File

@@ -55,6 +55,7 @@ RUN apt-get -y install dovecot-common \
RUN sed -i -E 's/^(\s*)system\(\);/\1unix-stream("\/dev\/log");/' /etc/syslog-ng/syslog-ng.conf
RUN cpanm Data::Uniqid Mail::IMAPClient String::Util
RUN echo '* * * * * root /usr/local/bin/imapsync_cron.pl' > /etc/cron.d/imapsync
RUN echo '30 3 * * * vmail /usr/bin/doveadm quota recalc -A' > /etc/cron.d/dovecot-sync
WORKDIR /tmp