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.
There is a guy that has a pretty extensive qmail ldap php admin tool
called phpQLAdmin you can check out here: http://phpqladmin.com/ it ended
up being too compilcated for me, but he had some great documentation on
qmail ldap tree structures. I ended up writing my own php qmail admin tool
in less time that it would have taken to read through all of his docs.