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.
So the (original?) poster's suggestion, to use SQL, was a good one.
Wietse