coreos-home-server/config/service/dovecot/Containerfile
Alex Palaistras 5367d2650e dovecot: Activate FTS, ManagedSieve plugins
This commit enables FTS via Xapian, and exposes the port required for
ManagedSieve integration with Dovecot; additionally, bugs in the
integration of LMTP with RSpamd have been fixed.

In support of these changes, configuration files that were previously
split into container-based and service-based are now consolidated, and
we now ensure that only our own container-based configuration is used
when running Dovecot.
2021-11-13 13:12:24 +00:00

18 lines
619 B
Docker

FROM docker.io/debian:bullseye-slim
ARG VERSION=2.3.13
RUN apt-get update -y && apt-get install -y --no-install-recommends \
dovecot-imapd=1:${VERSION}* dovecot-lmtpd=1:${VERSION}* dovecot-mysql=1:${VERSION}* \
dovecot-sieve=1:${VERSION}* dovecot-managesieved=1:${VERSION}* dovecot-fts-xapian \
gettext ca-certificates curl
RUN rm -Rf /etc/dovecot
COPY container/config /etc/dovecot
COPY container/run-dovecot /run-dovecot
RUN addgroup --system --gid 5000 virtual
RUN adduser --system --uid 5000 --ingroup virtual --home /var/mail/virtual virtual
EXPOSE 24 143 993 3659 4190
ENTRYPOINT ["/run-dovecot"]