From 771dfac772b6d4893b6043b70336fae46e60351f Mon Sep 17 00:00:00 2001
From: eaglegai <eaglegai@163.com>
Date: Mon, 24 May 2021 20:11:06 +0800
Subject: [PATCH] use lmdb by default instead of libdb

---
 conf/main.cf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/main.cf b/conf/main.cf
index 495e346..6d7b236 100644
--- a/conf/main.cf
+++ b/conf/main.cf
@@ -402,7 +402,7 @@ unknown_local_recipient_reject_code = 550
 # "postfix reload" to eliminate the delay.
 #
 #alias_maps = dbm:/etc/aliases
-alias_maps = hash:/etc/aliases
+alias_maps = lmdb:/etc/aliases
 #alias_maps = hash:/etc/aliases, nis:mail.aliases
 #alias_maps = netinfo:/aliases
 
@@ -413,7 +413,7 @@ alias_maps = hash:/etc/aliases
 #
 #alias_database = dbm:/etc/aliases
 #alias_database = dbm:/etc/mail/aliases
-alias_database = hash:/etc/aliases
+alias_database = lmdb:/etc/aliases
 #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
 
 # ADDRESS EXTENSIONS (e.g., user+foo)
-- 
1.8.3.1

