Just add the extra uid's to each record. I do that on a server with about 25k users, with no problems at all. All of my users can use "[EMAIL PROTECTED]", "user%domain.com", or "user.domain.com" to access their POP account. We do mostly virtual hosting, and this reduces support calls a bit for users who come from other ISP's.
Example LDIF:
dn: uid=john.smith.com,dc=smith,dc=com
mail: [EMAIL PROTECTED]
cn: John Smith
sn: Smith
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
userPassword: {crypt}fvcxz23235
deliveryMode: normal
accountStatus: enabled
uid: john.smith.com
uid: [EMAIL PROTECTED]
uid: john%smith.com
mailMessageStore: /var/mail/smith.com/john
Alessandro Lazzini wrote:
I'm using qmail-ldap as mail server for more than 50000 users, with a single domain name.
I would like to let my users access their mailbox, throught pop3 or imap, with different usernames: es mark or mark@realm or mark@domain should point to a unique mailMessageStore.
Does anybody have solved such a problem?
Thanks a lot,
Alessandro Lazzini
