On 7/26/2012 8:31 AM, Benny Pedersen wrote: > Den 2012-07-26 13:16, Wietse Venema skrev: > >>> will it be possible at all to drop berkdb now ? >> >> Postfix has always supported systems without Berkeley DB. Such >> systems have some other default_database_type setting. For example, >> SunOS, HP-UX, Ultrix etc. used "default_database_type = dbm". > > will sqlite work as hash ? > > what about btree ?, on the other hand why change something that works ? > > for me its not a question see more db backend supported, just to make > sure that postmap will do the exact same for all backends, example: >
You do NOT postmap sql or ldap map files as they are only pointers. It's also not necessary to postmap cidr, pcre or regexp map files either. > /etc/postfix/hash/alias > u...@example.net b...@example.com > > postmap /etc/postmap/hash/alias > > the above have always worked This works because of the default_database_type setting. `postconf default_database_type` to see your current setting. > > can i just change it to eg sqlite without fireing any sql commands ? No. > > will postfix self make the iniial setup layout schemas ? > > > No. I personally changed my default databases to cdb and included support for it. I still compile with berkdb for btree support though. Brian