final fixes
This commit is contained in:
parent
323d13a68a
commit
e9196226f3
|
@ -61,7 +61,9 @@ RUN apt-get update -q --fix-missing && \
|
||||||
# Enables Clamav
|
# Enables Clamav
|
||||||
RUN (echo "0 0,6,12,18 * * * /usr/bin/freshclam --quiet" ; crontab -l) | crontab -
|
RUN (echo "0 0,6,12,18 * * * /usr/bin/freshclam --quiet" ; crontab -l) | crontab -
|
||||||
RUN chmod 644 /etc/clamav/freshclam.conf && freshclam
|
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
|
# 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
|
RUN sed -i -e 's/include_try \/usr\/share\/dovecot\/protocols\.d/include_try \/etc\/dovecot\/protocols\.d/g' /etc/dovecot/dovecot.conf
|
||||||
|
|
|
@ -26,7 +26,7 @@ command = /usr/sbin/opendkim -f
|
||||||
startsecs=0
|
startsecs=0
|
||||||
autostart=false
|
autostart=false
|
||||||
autorestart=true
|
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]
|
[program:dovecot]
|
||||||
startsecs=0
|
startsecs=0
|
||||||
|
|
Loading…
Reference in New Issue