On Sat, Apr 20, 2002 at 09:14:54PM -0400, Gene Parks wrote: > > Well, the easiest way to do this is a variable BaseDN. The only problem is no one >on this list has ever come up with a way to do this. If I knew how to program in C I >would do it but alas I do not. > > So there has to be a way to do this but I have not found it yet. Let me know if you >do. >
The problem with variable BaseDN is how to decide which BaseDN qmail-ldap should use? IP based solutions are not good because you waste an incredible amount of Addresses and in this case you could also run multiple qmail-ldap's on the same machine. While it could be possible to evaluate a BaseDN from a mail-address (dc=domain, dc=<tld> stile) it is almost impossible to evaluate a BaseDN in pop3/imap session because the uid has no specified form (everybody is using his own stile for uid and can do so). The funny thing is that it should be clear that if you have just one mailserver (pop3/imap box) you have to give every user that logs in a different uid. If you can show me some software that, through phenomena not yet fully understood, has the possibility to evaluate from uid=foobar to either fobbar@domain.<tld> or foobar@otherdomain.<tld> in a 100% crash-proof way (without using a Server IP based solution) then I will add this to qmail-ldap personally. -- :wq Claudio
