Commit bf2e03c4 authored by Lucas Détré's avatar Lucas Détré

change spamassassin path

parent 6e84d33b
Pipeline #3313 passed with stages
in 5 minutes and 58 seconds
......@@ -31,7 +31,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
ENV POSTAL_CONFIG_ROOT=/postal/config/local
ENV LOG_TO_STDOUT=1
ENV PATH="/postal/bin:${PATH}"
ENV SAHOME="/var/log/spamassassin"
ENV SAHOME="/var/log/spamassassin/"
## Clone le projet postal
RUN git clone https://github.com/atech/postal.git /postal
......@@ -60,8 +60,7 @@ RUN groupadd spamd \
# Spamassassin setup
RUN update-rc.d spamassassin enable \
&& sed -i 's/CRON=0/CRON=1/' /etc/default/spamassassin \
&& sed -i 's/OPTIONS="--create-prefs --max-children 5 --helper-home-dir"/OPTIONS="--create-prefs --max-children 2 --username spamd \
-H ${SAHOME} -s ${SAHOME}spamd.log"/' /etc/default/spamassassin \
&& sed -i 's/OPTIONS="--create-prefs --max-children 5 --helper-home-dir"/OPTIONS="--create-prefs --max-children 2 --username spamd -H ${SAHOME} -s ${SAHOME}spamd.log"/' /etc/default/spamassassin \
&& service spamassassin start
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment