[EMAIL PROTECTED] wrote: > I agree, though, why call untie_db at all?
Because if you're using a Berkeley DB, then each user has his/her own file, and if you scan mail for different users with the same spamd process, then you need to be able to switch database files. The SA people should really add a function "set_user_context" which for the Berkeley version would tie the appropriate file, and for the SQL version would do nothing. Also, the Berkeley version uses file-based locking, so you want to release the DB file as soon as you no longer need it to avoid contention. Regards, David. _______________________________________________ Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

