Wietse Venema:
> Viktor Dukhovni:
> > One quick comment about check_sasl_access and established
> > sessions.  This may not work reliably with Berkeley DB.
> > 
> > It is best to use a SQL, LDAP, ... database.  I haven't checked
> > whether tinycdb (when not chrooted) automatically re-opens updated
> > ".cdb" files.  If so, CDB might work too.
> 
> The dict_changed() function detects that some process unlinks the
> CDB file after update (the CDB "query" client assigns the stat_fd
> member).
> 
> However, dict_changed() is called at the start if an SMTP session,
> not in the middle of a sesion.

This would be a good use case for LMDB. This does not require opening
a database after change, and is available for Ubuntu, Fedora,
FreeBSD, NetBSD, among others. Postfix 2.11 has LMDB support.

        Wietse

Reply via email to