Erwan David via Postfix-users:
> I had? a configuration with
>
> smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
>
> I saw in the logs
>
> postfix/tlsmgr[8777]: warning: /var/lib/postfix/smtp_scache: hash/btree
> support is deprecated. Please switch to cdb or lmdb.
>
> Thus I changed to
>
> smtp_tls_session_cache_database = cdb:${data_directory}/smtp_scache
Unfortunately, this Debian-specific warning message comes from code
that doesn't know that CDB is unsuitable for Postfix caches.
> and removed the file
>
> Then I had error
>
> postfix/tlsmgr[16031]: fatal: table cdb:/var/lib/postfix/smtp_scache:
> sequence operation is not supported
>
> So its clear I made an error by following a bit too blindly the warning
> message.
>
> /usr/share/doc/postfix/NON_BERKELEYDB_README.gz does not mention the
> cache database (postfix 3.11-5, debian testing)
It does mention default_cache_db_type (which on some systems still
is btree).
Wietse
> Following https://www.postfix.org/TLS_README.html I commented out the
> configuration, and it works, thus no problem, but I am curious of what I
> missed
>
>
> --
> Erwan David
> _______________________________________________
> Postfix-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]