AW: Username with @ sign at login possible?

Reinaldo de Carvalho reinaldoc at gmail.com
Tue May 12 12:21:14 EDT 2009


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

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

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

user/johndoe at example.org
user/johndoe/Sent at example.org
user/johndoe/Drafts at example.org


-- 
Reinaldo de Carvalho
http://korreio.sf.net
http://python-cyrus.sf.net


More information about the Info-cyrus mailing list