On Tue, May 12, 2009 at 12:45 PM, Helmut Weigel <helmut.weigel@xxxxxxxxx> wrote: > Hi! > > yess your right. more specified ist like > > we have a lot (~30.000) of users e.g. name@xxxxxxxxxxx in the default domain (postfix). > In cyrus they are just user.name > > Then we have several users in the postfix virtual table e.g. someone_else@xxxxxxxxxxx > They are mapped to cyrus users user.someone_else_domainb > > The mapping ist done in the ldapmap in postfix. the ldap maps email to uid. > > Regards Helmut > The first question is if you want login only with "user@xxxxxxxxxxx" or with "user" too, on cyrus and postfix. Sasl related, you need match ldap_filter with johndoe and johndoe@xxxxxxxxxxx usernames. Cyrus related, you need set "defaultdomain: domaina.tld" on imapd.conf for cyrus map username johndoe@xxxxxxxxxxx to mailbox johndoe. For suport multdomains is another question, and is required use 'mail' attribute for all autentication queries, enable "virtdomains" and create mailbox with domain: user/johndoe@xxxxxxxxxxx user/johndoe/Sent@xxxxxxxxxxx user/johndoe/Drafts@xxxxxxxxxxx user/johndoe@xxxxxxxxxxx user/johndoe/Sent@xxxxxxxxxxx user/johndoe/Drafts@xxxxxxxxxxx -- Reinaldo de Carvalho http://korreio.sf.net http://python-cyrus.sf.net ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html