From f31add196307e4e2bbdecde43a7a74a25e729bf9 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 24 Aug 2021 10:41:54 +0200 Subject: [PATCH] move btree to lmdb --- Dockerfile | 3 +-- rootfs/etc/confd/templates/main.cf.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index cb08c98..0c93b7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,8 +22,7 @@ RUN apk add --no-cache \ openssl \ spamassassin-client \ libstdc++ \ - libmilter \ - db + libmilter RUN addgroup -g 2222 access RUN addgroup postfix access diff --git a/rootfs/etc/confd/templates/main.cf.tmpl b/rootfs/etc/confd/templates/main.cf.tmpl index a375894..1088f32 100644 --- a/rootfs/etc/confd/templates/main.cf.tmpl +++ b/rootfs/etc/confd/templates/main.cf.tmpl @@ -47,8 +47,8 @@ smtpd_tls_wrappermode = no lmtp_tls_mandatory_ciphers = $smtpd_tls_mandatory_ciphers lmtp_tls_ciphers = $smtpd_tls_ciphers -smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache -smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache +smtpd_tls_session_cache_database = lmdb:${data_directory}/smtpd_scache +smtp_tls_session_cache_database = lmdb:${data_directory}/smtp_scache smtpd_sasl_type = dovecot smtpd_sasl_path = inet:{{getenv "DOVECOT_HOST"}}:{{getenv "DOVECOT_AUTH_PORT"}}