Re: Authentication and maibox name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 mbox001@doman 
> Authentication for names mbox001 and mbox001@domain passes successfully
> as in both cases to RADIUS passes query for user mbox001,
> but Cyrus gives out an error "Invalid mailbox name" for mbox001@domain
> 
> What is mailbox Cyrus searches for in this case?
> Is there something that can do to specify Cyrus that
> when user mbox001@domain 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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux