Make CDB or LMDB the default database type?
As discussed in #1 (closed), due to licensing (and other) issues with BDB, it may be interesting to consider CDB as default database type instead, i.e. making default_database_type = cdb
the compile-time default.
This can be done by building with DEF_DB_TYPE=cdb
, and bringing the split cdb support back into the main postfix package.
While this change will not immediatly break existing Postfix setups with hash:
or btree:
lookup tables, it will break running "postconf" on them, so this needs to be clearly documented.
We may even want to consider eventually removing BDB support altogether, but some Postfix features like address_verify_map or smtpd_tls_session_cache_database need a run-time writable database. These could use the lmdb
database type instead.