Erik Norgaard wrote: > Vladimir Dvorak wrote: > >> I add >> virtdomains: yes >> loginrealms: devel testdomain.org >> >> into imapd.conf, then I created mailbox using following commands: >> >> devel~: cyradm -u [EMAIL PROTECTED] localhost >> Password: xxxx >> localhost> cm [EMAIL PROTECTED] >> >> Now, I can authenticate and work with this mailbox. >> >> But problem occurs, when I create for example >> >> localhost>cm [EMAIL PROTECTED] >> >> and try to login. In maillog appears >> >> plaintext [EMAIL PROTECTED] SASL(-13): authentication failure: >> cross-realm login [EMAIL PROTECTED] denied >> >> It is clear - when I put test2domain.org behind the loginrealms item, it >> works. >> >> My question is: is possible to allow * domains to loginrealms ( because >> this server will serve a lot of domains and adding domain items is not >> effective) ? > > > There are a few things that comes into mind: First, you write your > login realms as devel testdomain.org - I don't see test2domain.org > anywhere. > > Second, depending on you mail client you may have to separate login > name and realm with a % instead of @. > > Third, the newly created mailbox may have wrong permissions - check. > > Finally: > > In my config I have only: > > defaultdomain: mydefaultdomain.org > virtdomains: yes > > and no list of loginrealms. Adding a virtual domain is as simple as > adding a mailbox as you did: > cm [EMAIL PROTECTED] > > I use sasl to authenticate against the system password so myuser > (@mydefaultdomain.org) and myuser%myvirtualdomain.org is the same user. > > Since cyrus does not deliver mail (is not an MTA) cyrus can safely > assume that incoming mail matching user/domain is destined for storage > in that users mailbox. For this reason I guess, there should be no > need to specify realms in the config. > > Cheers, Erik > Ok, I followed you instructions and my config looks:
defaultdomain: devel virtdomains: yes Now I login as admin cyrus and try to create mailbox: devel:~# cyradm -u cyrus localhost IMAP Password: localhost.localdomain> cm [EMAIL PROTECTED] createmailbox: Permission denied In maillog is nothing, what permissions I should increace ? Do you have any idea ? Thank you. Vladimir _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"