Russell Simpkins wrote:
Again, I'm not certain you can do this. In my setup, I have
[EMAIL PROTECTED],ou=accounts,dc=myhost,dc=net

I'm thinking that you might be able to create
dc=com
  dc=virtual1
     ou=accounts
     uid=fred
  dc=virtual2
     ou-accounts
     uid=fred
  dc=virtual3
     ou=accounts
     uid=fred

I was thinking that maybe that could get past the fact that uid must be
unique. I'm assuming that UID must be unique, but i'm not sure, without
testing if that is within a branch or not. I'm no LDAP expert either, nor
a qmail expert.

I don't think you can get around that, because qmail-ldap searches for an uid attribute that matches the login name the user uses in IMAP/POP. So it wouldn't be a good thing if there are two users returned for one username. Maybe you can change that search filter, but still, there is no way to have more than one (seperate) domain in which every user can login just using his username without the domain part. E.g. there would be no way to differentiate between [EMAIL PROTECTED] and [EMAIL PROTECTED], if both of them try to log in with "user" as username. Vpopmail let's you specify a defaultdomain, which is appended if you try to login just with a username without a domain part. But there also, you can have just one domain being able to login without domain part.

Philipp

Reply via email to