--- 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"