summaryrefslogtreecommitdiff
path: root/main/postfix/lmdb-default.patch
blob: 949b2a8406ff16072051d2dcefcb1e53e35edd88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Upstream: Not applicable
Reason: Make LMDB the default configuration

Author: Duncan Bellamy <dunk@denkimushi.com>

diff --git a/src/global/mail_params.h b/src/global/mail_params.h
index a6119f1..9639c60 100644
--- a/src/global/mail_params.h
+++ b/src/global/mail_params.h
@@ -2826,7 +2826,7 @@ extern int var_vrfy_pend_limit;
 extern char *var_verify_service;
 
 #define VAR_VERIFY_MAP			"address_verify_map"
-#define DEF_VERIFY_MAP			"btree:$data_directory/verify_cache"
+#define DEF_VERIFY_MAP			"lmdb:$data_directory/verify_cache"
 extern char *var_verify_map;
 
 #define VAR_VERIFY_POS_EXP		"address_verify_positive_expire_time"
@@ -3594,7 +3594,7 @@ extern char *var_multi_cntrl_cmds;
   * postscreen(8)
   */
 #define VAR_PSC_CACHE_MAP	"postscreen_cache_map"
-#define DEF_PSC_CACHE_MAP	"btree:$data_directory/postscreen_cache"
+#define DEF_PSC_CACHE_MAP "lmdb:$data_directory/postscreen_cache"
 extern char *var_psc_cache_map;
 
 #define VAR_SMTPD_SERVICE	"smtpd_service_name"