final fixes

This commit is contained in:
Luke 2017-06-07 15:57:48 -07:00
parent 323d13a68a
commit e9196226f3
2 changed files with 4 additions and 2 deletions

View File

@ -61,7 +61,9 @@ RUN apt-get update -q --fix-missing && \
# Enables Clamav
RUN (echo "0 0,6,12,18 * * * /usr/bin/freshclam --quiet" ; crontab -l) | crontab -
RUN chmod 644 /etc/clamav/freshclam.conf && freshclam
RUN sed -i 's/Foreground false/Foreground true/g' /etc/clamav/clamd.conf && mkdir /var/run/clamav && chown -R clamav:root /var/run/clamav
RUN sed -i 's/Foreground false/Foreground true/g' /etc/clamav/clamd.conf && \
sed -i 's/AllowSupplementaryGroups false/AllowSupplementaryGroups true/g' /etc/clamav/clamd.conf && \
mkdir /var/run/clamav && chown -R clamav:root /var/run/clamav
# Configures Dovecot
RUN sed -i -e 's/include_try \/usr\/share\/dovecot\/protocols\.d/include_try \/etc\/dovecot\/protocols\.d/g' /etc/dovecot/dovecot.conf

View File

@ -26,7 +26,7 @@ command = /usr/sbin/opendkim -f
startsecs=0
autostart=false
autorestart=true
command = /usr/sbin/opendmarc -f -p local:/var/run/opendmarc/opendmarc.sock
command = /usr/sbin/opendmarc -f -p "inet:8893@localhost"
[program:dovecot]
startsecs=0