Mike Nuss wrote:
(top posting corrected)
Rob Tanner wrote:
--On Friday, October 22, 2004 03:27:40 PM -0400 Mike Nuss <[EMAIL PROTECTED]>
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.
<snip>
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 <snip>
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
There is no /var/imap directory. There is a /var/lib/imap directory, and everything in both /var/spool/imap and /var/imap are owned by cyrus:mail.
As a followup, if I turn off virtual domains, I can add mailboxes with no problems. If I turn them on and try to add a mailbox using "cm [EMAIL PROTECTED]" it says "Invalid mailbox name." If I add "unixhierarchysep: 1" and try "cm user/[EMAIL PROTECTED]" it says the same thing. "cm user.blah" or "cm user/blah" still yields "Permission denied."
Mike
--- 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