Cyrus, sasldb and cyradm

Andreas Winkelmann ml at awinkelmann.de
Tue Sep 19 05:27:01 EDT 2006


Am Tuesday 19 September 2006 09:43 schrieb Antonio Navarro Navarro:

> I have installed a Cyrus Imap but am unable to create more than one mailbox
> for each virtual domain.
>
> name       : Cyrus IMAPD
> version    : v2.3.1-Invoca-RPM-2.3.1-2.6.fc5 2005/12/20 15:54:43
> vendor     : Project Cyrus
> support-url: http://asg.web.cmu.edu/cyrus
> os         : Linux
> os-version : 2.6.17-1.2187_FC5
> environment: Built w/Cyrus SASL 2.1.21
>              Running w/Cyrus SASL 2.1.21
>              Built w/Sleepycat Software: Berkeley DB 4.3.29: (February 15,
> 2006)
>              Running w/Sleepycat Software: Berkeley DB 4.3.29: (September
> 7, 2006)
>              Built w/OpenSSL 0.9.8a 11 Oct 2005
>              Running w/OpenSSL 0.9.8a 11 Oct 2005
>              CMU Sieve 2.3
>              TCP Wrappers
>              mmap = shared
>              lock = fcntl
>              nonblock = fcntl
>              idle = idled
>
> I want to use virtual domain, so my imapd.conf looks like this:
>
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> admins: cyrus user at domain1.com user at domain2.com
> sendmail: /usr/sbin/sendmail
> sievedir: /var/lib/imap/sieve
> hashimapspool: true
> sasl_pwcheck_method: auxprop

> pw_check_method: sasldb

The Option is "sasl_auxprop_plugin: sasldb", not "pw_check_method: sasldb". 
But that does not matter.

> sasl_mech_list: PLAIN LOGIN

sasldb stores Plaintextpasswords. You can add here cram-md5 and digest-md5, 
too.

> virtdomains: on
> 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
>
> sasldblistusers2 shows the following:
>
> user at domain1.com: userPassword
> user at domain2.com: userPassword
> user2 at domain1.com: userPassword
> user2 at domain2.com: userPassword
>
> If I connect to cyradm using one of the admin accounts (for example
> user at domain1.com) I'm unable to create a new mailbox for
> user2 at domain1.com(the mailbox appears inside the INBOX folder for
> user at domain1.com. 

Ok, why does the Admin-User has a Mailbox?

> If I try to create an admin account not related to a 
> domain (cyrus) the saslpasswd2 programa creates it under the full qualified
> name of the server (cyrus at host.domain1.com).

-- 
	Andreas


More information about the Cyrus-sasl mailing list