Permission denied creating mailboxes

Rob Tanner rtanner at linfield.edu
Fri Oct 22 18:22:45 EDT 2004


I'm not familiar with using mkimap (if I've ever used it, I've forgotten),
but I would double check to be sure that the user/group under which the imap
server is the user/group that owns all of the server's files.  Not only does
the server need file system permissions in the /var/spool/imap partition, it
needs similar permission in /var/imap to manipulate various resources such as
mailboxes.db.

-- Rob

--On Friday, October 22, 2004 03:27:40 PM -0400 Mike Nuss <mnuss at ammasso.com>
wrote:

> I've just installed cyrus-imapd-2.2.8 using the srpm from
> http://www.invoca.ch/pub/packages/cyrus-imapd/ and I am trying to create
> the initial user mailboxes.
> 
> My imapd.conf looks like this:
> 
> 
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> admins: cyrus
> sievedir: /var/lib/imap/sieve
> sendmail: /usr/sbin/sendmail
> hashimapspool: true
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN
> tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
> tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
> tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt
> virtdomains: yes
> defaultdomain: <mydomain.com>
> 
> 
> I ran /usr/lib/cyrus-imapd/mkimap as cyrus.
> 
> Then I tried to use cyradm as "cyrus" to try to create a mailbox. I got the
> following error:
> 
> 
> -bash-2.05b$ cyradm localhost
> IMAP Password:
> 
> localhost.localdomain> cm user.test
> createmailbox: Permission denied
> 
> 
> Any thoughts?
> 
> Thanks,
> Mike Nuss
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html



-- 
Rob Tanner
UNIX Services Manager
Linfield College, McMinnville OR

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list