Use rspamd as a milter service instead of deprecated rmilter
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user