1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-23 02:04:46 +02:00

Changed Dovecot Base to Bullseye again (Self compile)

This commit is contained in:
DerLinkman 2023-05-03 09:36:43 +00:00
parent 38db7226a8
commit 7ec7bd21cb
No known key found for this signature in database
GPG Key ID: F109FD97469550A2
2 changed files with 21 additions and 17 deletions

View File

@ -3,9 +3,10 @@ LABEL maintainer "The Infrastructure Company GmbH GmbH <info@servercow.de>"
# renovate: datasource=github-releases depName=tianon/gosu versioning=semver-coerced extractVersion=^(?<version>.*)$ # renovate: datasource=github-releases depName=tianon/gosu versioning=semver-coerced extractVersion=^(?<version>.*)$
ARG GOSU_VERSION=1.16 ARG GOSU_VERSION=1.16
ARG DOVECOT_VERSION=2.3.20
ARG PIGEONHOLE_VERSION=0.5.20
ENV LC_ALL C
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
# Add groups and users before installing Dovecot to not break compatibility # Add groups and users before installing Dovecot to not break compatibility
RUN addgroup -g 5000 vmail \ RUN addgroup -g 5000 vmail \
@ -98,19 +99,22 @@ RUN addgroup -g 5000 vmail \
supervisor \ supervisor \
tzdata \ tzdata \
wget \ wget \
dovecot \ git \
dovecot-dev \ bison \
dovecot-lmtpd \ flex \
dovecot-lua \ build-essential \
dovecot-ldap \ autoconf \
dovecot-mysql \ automake \
dovecot-sql \ libtool \
dovecot-submissiond \ make \
dovecot-pigeonhole-plugin \ default-libmysqlclient-dev \
dovecot-pop3d \ libicu-dev \
dovecot-fts-solr \ zlib1g-dev \
&& arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \ pkg-config \
&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$arch" \ libsqlite3-dev \
liblua5.3-dev \
&& dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')" \
&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch" \
&& chmod +x /usr/local/bin/gosu \ && chmod +x /usr/local/bin/gosu \
&& gosu nobody true && gosu nobody true

View File

@ -241,8 +241,8 @@ plugin {
mail_crypt_global_public_key = </mail_crypt/ecpubkey.pem mail_crypt_global_public_key = </mail_crypt/ecpubkey.pem
mail_crypt_save_version = 2 mail_crypt_save_version = 2
# Enable compression while saving, lz4 Dovecot v2.2.11+ # Enable compression while saving, zstd Dovecot v2.3.17+
zlib_save = lz4 zlib_save = zstd
mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
mail_log_fields = uid box msgid size mail_log_fields = uid box msgid size