1
1
mirror of https://github.com/docker-mailserver/docker-mailserver synced 2025-08-22 14:14:27 +02:00

Back to regex

This commit is contained in:
Thomas VIAL 2017-04-18 11:47:47 +02:00
parent 3f83291a51
commit 2c4896105e
No known key found for this signature in database
GPG Key ID: 0394CEE552FAFEFC

@ -85,7 +85,8 @@ RUN mkdir /var/run/postgrey
RUN chown postgrey:postgrey /var/run/postgrey
# Enables Amavis
COPY target/amavis /etc/amavis
RUN sed -i -r 's/#(@| \\%)bypass/\1bypass/g' /etc/amavis/conf.d/15-content_filter_mode
COPY target/amavis/conf.d/60-dms_default_config /etc/amavis/conf.d/
RUN adduser clamav amavis && adduser amavis clamav
RUN useradd -u 5000 -d /home/docker -s /bin/bash -p $(echo docker | openssl passwd -1 -stdin) docker
RUN (echo "0 4 * * * /usr/local/bin/virus-wiper" ; crontab -l) | crontab -