Maybe you are right, writes in LDAP are more slow than reads so could be a performance problem, all depends on your POP3/IMAP access. But maybe could be a alternative patch if you think your LDAP server can support it. The extra info could be very interesting in order to disable unused accounts.
> Peter Hubbard wrote: >> Hi all, >> >> We are currently looking in to altering qmail-ldap to write each user's >> last login time to a new ldap attribute in the schema. >> >> The idea is that whatever part of the code that writes to the >> lastlogintime file in users' maildirs should be altered to also write to >> ldap. I must be a womble though, as I can't find it. >> >> Guessing, though, that a small modification to auth_pop and auth_imap >> should be all that is required. Can anyone confirm this? > > Hi, > > in my opinion this is a bad idea. Every pop or imap access will result > in a slow write operation to your ldap. It depends on the size of your > mailserver but i think this will decrease the performance of your > installation. > > Andre >
