accessing dbmail_users:

db_get_quotum_used
db_set_quotum_used
db_add_quotum_used
db_check_quotum_used
db_calculate_quotum_all
db_get_users_from_clientid
db_icheck_mailboxes
db_acl_get_identifiers

Some of these can be fixed if we insert (partial: no password) records into the dbmail_users table when a user exists in the ldap db but is missing from the sql table. That way we can defer some of the more write-intensive fields to the sql db (i.e. currmail_size, last_login).

I'm therefor proposing that all functions accessing userdata should become part of the auth-module.

No silver bullet though :-(


--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to