Imagine you have some domain with ten users. if you want to add one user more it`s takes 2 seconds
but Imagine you have some domain with 10000 users. if you want to add one user (named X) more it`s takes 20 seconds aprox. because it has to compare with 10000 records in order to know if user X exists. I don´t know how I have to make the ldap tree: Deep or Wide? Thanks --------------------------------------------------------------------- Carlos García Gómez Sistemas de Información y Comunicaciones Fundación Integra. http://www.f-integra.org Teléfono: +34 968 355161 Fax: +34 968 355131 Correo: [EMAIL PROTECTED] ---------------------------------------------------------------------- Turbo Fredriksson <[EMAIL PROTECTED]> Enviado por: Turbo Fredriksson <[EMAIL PROTECTED]> 20/09/2007 12:11 Para: [email protected] cc: Asunto: Re: qmail-ldap too much user mailboxes Quoting [EMAIL PROTECTED]: > Hello, > > I have a mail domain with 10000 users. I am trying to find one optimal > solution so that when I add a new user it's not behind schedule much. I > have written in perl one scritp that search if user exists and add it. > > Some idea? What are you trying to accomplish really?! Do you mean something to create the mail directory when the first mail arrives? That is, users are only created in LDAP, but *dirs is not created by the 'admin interface'? That's the use of the option dirmaker... You can find a copy of mine at: http://www.bayour.com/scripts/create_dirs.pl For me, it must be SUID to be able to chown the resulting directory/-ies.
