set default_data_tpye to lmdb
(cherry picked from commit 6099ccdc55c57ed7299188c9b5e5592d94cbaa08)
This commit is contained in:
parent
c730d8d819
commit
b3907f5ada
22
postfix-set-default_data_type-to-lmdb.patch
Normal file
22
postfix-set-default_data_type-to-lmdb.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From 063980f92ca5963e8ed76e78d661bcbb3a381fa3 Mon Sep 17 00:00:00 2001
|
||||
From: eaglegai <eaglegai@163.com>
|
||||
Date: Thu, 3 Mar 2022 09:05:20 +0800
|
||||
Subject: [PATCH] set default_data_tpye to lmdb
|
||||
|
||||
---
|
||||
conf/main.cf | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/conf/main.cf b/conf/main.cf
|
||||
index 6d7b236..e27687e 100644
|
||||
--- a/conf/main.cf
|
||||
+++ b/conf/main.cf
|
||||
@@ -734,3 +734,6 @@ smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
|
||||
# plaintext (opportunistic TLS outbound).
|
||||
#
|
||||
smtp_tls_security_level = may
|
||||
+
|
||||
+
|
||||
+default_database_type = lmdb
|
||||
--
|
||||
2.33.0
|
||||
10
postfix.spec
10
postfix.spec
@ -23,7 +23,7 @@
|
||||
Name: postfix
|
||||
Summary: Postfix Mail Transport Agent
|
||||
Version: 3.3.1
|
||||
Release: 18
|
||||
Release: 19
|
||||
Epoch: 2
|
||||
URL: http://www.postfix.org
|
||||
License: (IPL-1.0 and GPLv2+) or (EPL-2.0 and GPLv2+)
|
||||
@ -47,6 +47,7 @@ Patch8: fix-build-error-with_glibc2.30-ftbfs.patch
|
||||
Patch9: fix-multiple-definition-error-with-gcc-10.patch
|
||||
Patch10: postfix-3.6.2-glibc-234-build-fix.patch
|
||||
Patch11: postfix-use-lmdb-by-default-instead-of-libdb.patch
|
||||
Patch12: postfix-set-default_data_type-to-lmdb.patch
|
||||
|
||||
BuildRequires: lmdb-devel perl-generators pkgconfig zlib-devel systemd-units libicu-devel libnsl2-devel gcc m4 openldap-devel
|
||||
BuildRequires: cyrus-sasl-devel pcre-devel mariadb-connector-c-devel postgresql-devel sqlite-devel openssl-devel procps-ng
|
||||
@ -112,6 +113,7 @@ PostgreSQL maps with Postfix, you need this.
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
|
||||
sed -i \
|
||||
's|^\(\s*#define\s\+DEF_SHLIB_DIR\s\+\)"/usr/lib/postfix"|\1"%{_libdir}/postfix"|' \
|
||||
@ -554,6 +556,12 @@ fi
|
||||
%{postfix_doc_dir}/README_FILES/*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 03 2022 gaihuiying <eaglegai@163.com> - 2:3.3.1-19
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:set default_data_tpye to lmdb
|
||||
|
||||
* Tue Mar 01 2022 zhujunhao<zhujunhao11@huawei.com> - 2:3.3.1-18
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user