----- Original Message ----- From: "Claudio Jeker" <[EMAIL PROTECTED]> To: "Mike Roest" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, August 31, 2002 6:41 PM Subject: Re: Large Number of Virtual Domains
> On Sat, Aug 31, 2002 at 12:31:32AM +0800, K. F. Yim wrote: > > Any thoughs on the followings items: > > > > 1) Domain based LDAP user entries that allow dynamic searching and POP3 > > authentication mechanism (uid=loginid,ou=virtualdomain.com) that allow > > duplicate UID under different domains. e.g. dn: uid=loginid, > > ou=virtualdomain.com,dc=domain,dc=com. > > There is a patch similar to your idea floating around, selecting a basedn > based on the domain. See mailinglist archive. > For us (Andre and myself) this is not important because a) the lookups are fast > enough b) it adds additional complexity (missconfigurations et al.) > c) you need for every domain a seperate pop3 server on a seperate ip (I > don't think that RIPE or whoever is enjoyed if you would like to allocate > 10'000 IPs just for your mailsystem) > For point c) What I mean was to have a cluster of MX hosts receiving incoming messages for different customers which have dedicated domain with us. We are now hosting over 100 mail domains for them with around 1k users for each domain and three MX hosts, three POP3 servers with webmail and two LDAP/MailStore servers. The number of domains are increasing and the duplicating UID on the same platform sometimes causes additional effort to resolve for clients. > NOTE: neither pop3 nor imap support namevirtualhost like http does. So c) > is a definitiv killer. > > > 2) /var/qmail/control/locals and virtualdomains files that allows the > > handling of =>10,000 virtual domains > > It could be done with a cdb like with rcpthost and morercpthost. > For that qmail-send needs to be patched. > Is there a need for such a change? > 1. How many do have a lot more than 100 local domains? > 2. Profile don't speculate (is there a performace loss with e.g. 10'000 > domains in locals) > > > 3) Domain based directory structure that support the above. > > At the moment I believe that a good index is better than to mess around > with selecting basedn from the incomming domain name. > > -- > :wq Claudio
