On Tue, May 12, 2009 at 12:45 PM, Helmut Weigel <helmut.wei...@dfbnet.de> wrote:
> Hi!
>
> yess your right. more specified ist like
>
> we have a lot (~30.000) of users e.g. n...@domaina.tld 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_e...@domainb.tld
> 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 "u...@domaina.tld"
or with "user" too, on cyrus and postfix.

Sasl related, you need match ldap_filter with johndoe and
john...@domaina.tld usernames.

Cyrus related, you need set "defaultdomain: domaina.tld" on imapd.conf
for cyrus map username john...@domaina.tld 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/john...@example.net
user/johndoe/s...@example.net
user/johndoe/dra...@example.net

user/john...@example.org
user/johndoe/s...@example.org
user/johndoe/dra...@example.org


-- 
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

Reply via email to