diff --git a/Dockerfile b/Dockerfile index 39b53d6b..d93e9b62 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/target/supervisor/supervisor-app.conf b/target/supervisor/supervisor-app.conf index c7311b3d..22865697 100644 --- a/target/supervisor/supervisor-app.conf +++ b/target/supervisor/supervisor-app.conf @@ -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