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) 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
