Roman Golub wrote:
> Hi all,
> 
> cyrus-imapd-2.3.11
> cyrus-sasl-saslauthd-2.1.22
> Authentication: saslauthd -> PAM -> RADIUS
> 
> imapd.conf:
> ...
> virtdomains: no
> loginrealms: domain
> ...
> 
> There is a mailbox mbox001 (/var/spool/imap/user/mbox001)
> For access to this box the user is authenicates with a name mbox001
> 
> Now it is necessary that the user could access into that mailbox both
> under a name mbox001 and under a name [EMAIL PROTECTED] 
> Authentication for names mbox001 and [EMAIL PROTECTED] passes successfully
> as in both cases to RADIUS passes query for user mbox001,
> but Cyrus gives out an error "Invalid mailbox name" for [EMAIL PROTECTED]
> 
> What is mailbox Cyrus searches for in this case?
> Is there something that can do to specify Cyrus that
> when user [EMAIL PROTECTED] is authenticated it needs to use a box mbox001?

Roman,

These settings should work:

loginrealms: example.net
virtdomains: on
defaultdomain: example.net

One caveat, which doesn't seem to apply to you, is that if you've 
already created your mailboxes under a different configuration, 
such as:

loginrealms: example.net
virtdomains: on
#defaultdomain:

and then try to change the value of defaultdomain afterwards, you 
may not get expected results.

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