Map realm to user

Andrew Morgan morgan at orst.edu
Tue Jan 10 12:58:09 EST 2012


On Tue, 10 Jan 2012, Pedro Silva wrote:

> Hi,
> I have a postfix/cyrus/sasl mail server authenticating against an ldap
> server.
>
> It all works fine using a 'login:password' authentication but I would
> also like to user 'login at realm:password' authentication for the mail
> accounts (imap and pop3).
>
> The authentication bit work fine when I use 'login at realm' (in imap) but
> no mailbox is opened...
> Well my question is: is it possible to map 'login' and 'login at realm' to
> the same mailbox? and if so how can I do that?

Assuming you are not using virtual domains in Cyrus, the "servername" 
setting in imapd.conf is used as the realm when no realm is given (using 
'login').  If you set servername to the realm you want to use, then 
'login' and 'login at realm' should be the same for Cyrus.

 	Andy


More information about the Info-cyrus mailing list