summaryrefslogtreecommitdiff
path: root/package/postfix/patches/patch-src_util_sys_defs_h
blob: 874c4f1bea6cd7dd615ff0ab0f9e5e3d451bb731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- postfix-3.1.0.orig/src/util/sys_defs.h	2016-02-06 14:30:39.000000000 +0100
+++ postfix-3.1.0/src/util/sys_defs.h	2016-03-24 08:14:21.999964563 +0100
@@ -47,7 +47,7 @@
 #define HAS_FSYNC
 #define HAS_DB
 #define HAS_SA_LEN
-#define NATIVE_DB_TYPE	"hash"
+#define NATIVE_DB_TYPE	"cdb"
 #if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000)
 #define ALIAS_DB_MAP   DEF_DB_TYPE ":/etc/mail/aliases"	/* sendmail 8.10 */
 #endif
@@ -55,7 +55,8 @@
 #define ALIAS_DB_MAP   DEF_DB_TYPE ":/etc/mail/aliases"	/* OpenBSD 2.7 */
 #endif
 #ifndef ALIAS_DB_MAP
-#define ALIAS_DB_MAP	DEF_DB_TYPE ":/etc/aliases"
+#define DEF_DB_TYPE    "cdb"
+#define ALIAS_DB_MAP	DEF_DB_TYPE ":/etc/postfix/aliases"
 #endif
 #define GETTIMEOFDAY(t)	gettimeofday(t,(struct timezone *) 0)
 #define ROOT_PATH	"/bin:/usr/bin:/sbin:/usr/sbin"