Add config files to Rspamd

master
andryyy 2017-02-28 10:01:04 +01:00
parent f429180044
commit 608cb8ada7
3 changed files with 8 additions and 2 deletions

View File

@ -15,8 +15,9 @@ RUN apt-key adv --fetch-keys http://rspamd.com/apt-stable/gpg.key \
&& apt-get -y install rspamd ca-certificates python-pip && apt-get -y install rspamd ca-certificates python-pip
RUN echo '.include $LOCAL_CONFDIR/local.d/rspamd.conf.local' > /etc/rspamd/rspamd.conf.local RUN echo '.include $LOCAL_CONFDIR/local.d/rspamd.conf.local' > /etc/rspamd/rspamd.conf.local
# "Hardcoded" - we need them
RUN echo 'settings = "http://nginx:8081/settings.php";' > /etc/rspamd/modules.d/settings.conf ADD settings.conf /etc/rspamd/modules.d/settings.conf
ADD antivirus.conf /etc/rspamd/modules.d/antivirus.conf
RUN pip install -U oletools RUN pip install -U oletools

View File

@ -0,0 +1,4 @@
antivirus {
.include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/antivirus.conf"
.include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/antivirus.conf"
}

View File

@ -0,0 +1 @@
settings = "http://nginx:8081/settings.php";