Problem with cyrus imapd and virtual domains

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

 



Hi,
I got a tricky problem with my cyrus imapd + sasldb authentication.
This cyrus was configured without support for virtual domains.  Everything works fine. Now I have to add another domain and like the  cyrus to support virtual domains.So I added the following lines to my  /etc/imapd.conf

virtdomains: yesdefaultdomain: club.mydomain.deunixhierarchysep: yes
My whole imapd.conf looks like this:
===============================servername: club.mydomain.de# loginrealms: sode0-101 club.mydomain.deconfigdirectory: /var/lib/imappartition-default: /var/spool/imapadmins: cyrus fzurell fzurell@sode0-101 fzurell@localdomainimap_admins: cyrus fzurell fzurell@sode0-101sievedir: /var/lib/imap/sievesendmail: /usr/sbin/sendmailhashimapspool: true#sasl_pwcheck_method: saslauthdsasl_pwcheck_method: auxprop saslauthdsasl_auxprop_plugin: sasldbsasl_mech_list: PLAIN LOGINallowanonymouslogin: noallowplaintext: yes#tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem#tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem#tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt# Support virtual Domains  virtdomains: yes
# The default domain for virtual domain support# If the domain of a user can't be taken from its login and it can't# be determined by doing a reverse lookup on the interface IP, this# domain is used.defaultdomain: club.mydomain.deunixhierarchysep: yes=========================
I disabled the loginrealms parameter as well. Then I restarted the  imapd and tried to login. I can login with:
cyradm --user cyrus localhost
But when I try to list the existing mailboxes I got an empty list.  There seems to be no user accounts in the server.I also can't create any new mailbox like this:
  cyradm  --user cyrus localhost
localhost.localdomain> cm user/user@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: Invalid mailbox namelocalhost.localdomain>

When I disable virtdomains and login in the very same way I can see  all the existing mailboxes.
I thinks it's a problem with the "view" of the cyrus admin account.  But what makes me wonder is that I can't even create new mailboxes in  this new view.
I got these entries in my sasldb
[root@sode0-101 ~]# sasldblistusers2 | grep cyruscyrus@sode0-101: userPasswordcyrus@xxxxxxxxxxxxxxxx: userPassword

any Ideas on this?Falko Zurell 
/i-d media AG
Berlin----Cyrus Home Page: http://cyrusimap.web.cmu.edu/Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twikiList 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