Use rspamd as a milter service instead of deprecated rmilter

This commit is contained in:
kaiyou
2017-11-05 16:54:23 +01:00
parent f943dc85a2
commit 1d9b3b00a7
12 changed files with 46 additions and 16 deletions

View File

@@ -1,12 +1,9 @@
FROM alpine:edge
# We have to upgrade musl, or rspamd will not work.
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \
&& apk add --no-cache rspamd rsyslog ca-certificates
RUN apk add --no-cache rspamd ca-certificates
RUN mkdir /run/rspamd
COPY conf/ /etc/rspamd
COPY start.sh /start.sh
CMD ["/start.sh"]
CMD ["rspamd", "-i", "-f"]