Hi Andreas,
I have a mailbox for the admin user because I need to use the mail system. This is the only way I am able to use e-mail accounts in the Cyrus Imap server.
I suppose that I must provide a password for the cyrus admin user, but I'm unable to do it (the user created in the sasldb database is cyrus@xxxxxxxxxxxxxxx instead of only 'cyrus')
Thanks in advance,
Antonio
2006/9/19, Andreas Winkelmann <ml@xxxxxxxxxxxxxx>:
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@xxxxxxxxxxx user@xxxxxxxxxxx
> 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@xxxxxxxxxxx: userPassword
> user@xxxxxxxxxxx: userPassword
> user2@xxxxxxxxxxx: userPassword
> user2@xxxxxxxxxxx: userPassword
>
> If I connect to cyradm using one of the admin accounts (for example
> user@xxxxxxxxxxx) I'm unable to create a new mailbox for
> user2@xxxxxxxxxxx(the mailbox appears inside the INBOX folder for
> user@xxxxxxxxxxx.
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@xxxxxxxxxxxxxxxx ).
--
Andreas