patch-src_util_sys_defs_h 827 B

123456789101112131415161718192021
  1. --- postfix-2.11.0.orig/src/util/sys_defs.h 2013-09-29 22:51:55.000000000 +0200
  2. +++ postfix-2.11.0/src/util/sys_defs.h 2014-03-26 19:38:02.000000000 +0100
  3. @@ -46,7 +46,7 @@
  4. #define HAS_FSYNC
  5. #define HAS_DB
  6. #define HAS_SA_LEN
  7. -#define NATIVE_DB_TYPE "hash"
  8. +#define NATIVE_DB_TYPE "cdb"
  9. #if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000)
  10. #define ALIAS_DB_MAP DEF_DB_TYPE ":/etc/mail/aliases" /* sendmail 8.10 */
  11. #endif
  12. @@ -54,7 +54,8 @@
  13. #define ALIAS_DB_MAP DEF_DB_TYPE ":/etc/mail/aliases" /* OpenBSD 2.7 */
  14. #endif
  15. #ifndef ALIAS_DB_MAP
  16. -#define ALIAS_DB_MAP DEF_DB_TYPE ":/etc/aliases"
  17. +#define DEF_DB_TYPE "cdb"
  18. +#define ALIAS_DB_MAP DEF_DB_TYPE ":/etc/postfix/aliases"
  19. #endif
  20. #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0)
  21. #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin"