dovecot/Containerfile

26 lines
511 B
Plaintext
Raw Normal View History

2024-06-27 07:14:06 +00:00
FROM docker.io/thallian/confd-env:3.20-3.1.6.2
2016-07-06 08:58:48 +00:00
2018-02-15 20:40:42 +00:00
RUN apk --no-cache add \
2023-09-26 14:05:12 +00:00
ssmtp \
dovecot \
dovecot-pgsql \
dovecot-lmtpd \
dovecot-pigeonhole-plugin
2016-07-06 08:58:48 +00:00
2017-09-25 09:15:10 +00:00
RUN addgroup -g 2222 access
RUN addgroup dovecot access
2016-07-14 07:59:48 +00:00
RUN addgroup -g 1111 vmail
RUN adduser -u 1111 -h /var/lib/vmail -D -G vmail vmail
2016-07-06 08:58:48 +00:00
2018-02-16 07:28:24 +00:00
RUN mkdir -p /etc/dovecot/conf.d
2022-09-29 13:57:02 +00:00
RUN mkdir /var/lib/vmail/sieve-after/
2018-02-16 07:28:24 +00:00
2022-09-29 13:57:02 +00:00
RUN chown -R vmail:vmail /var/lib/vmail/sieve-after/
2016-07-06 08:58:48 +00:00
2017-06-13 11:59:39 +00:00
EXPOSE 143 4190 6334 7777
2016-07-06 08:58:48 +00:00
VOLUME /var/lib/vmail/mail/ /etc/ssl/mail
ADD /rootfs /