Remove binary apk and use sieve_imap for antispam learning, fixes #33
This commit is contained in:
@@ -2,17 +2,11 @@ FROM alpine:edge
|
||||
|
||||
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||
&& apk add --update \
|
||||
dovecot \
|
||||
dovecot-sqlite \
|
||||
dovecot-pigeonhole-plugin \
|
||||
dovecot-antispam-plugin@testing \
|
||||
dovecot dovecot-sqlite dovecot-pigeonhole-plugin dovecot-pigeonhole-plugin-extdata \
|
||||
rspamd-client@testing \
|
||||
bash \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
COPY dovecot-pigeonhole-plugin-extdata-39-r0.apk /
|
||||
RUN apk add --allow-untrusted --force dovecot-pigeonhole-plugin-extdata-39-r0.apk
|
||||
|
||||
COPY conf /etc/dovecot
|
||||
COPY sieve /var/lib/dovecot
|
||||
|
||||
|
||||
Reference in New Issue
Block a user