createmailbox: Permission denied - again ?

Warrick FitzGerald subs.cyrus.wfitzgerald at crtman.com
Mon Oct 3 17:27:49 EDT 2005


Hi All,

I’m having a problem with Cyrus that seems to haunt me from time to
time. When logging in using cyradm to create accounts, I’m told
“createmailbox: Permission denied“. The strange thing is that it seems
to work sometime and then not others … I’m very confused about this (to
say the least):

I’ve read many posts that suggest that the user is not listed in admins:
in /etc/imapd.conf – my user is.

I’ve also read posts that suggest that it has something to do with file
permissions … however this side of things also seems fine.

Here are some examples of what I see. The first thing that confuses me
is why I’m prompted for a login and password twice (see below).

[root at livemail1 etc]# cyradm --user admin at domain.com --auth PLAIN localhost
Password:
IMAP Password:
localhost> cm user.wfitzgerald at domain.com
createmailbox: Permission denied
localhost>

as you can see I’ve created two mailboxes in here before

localhost> lm
user.chowson (\HasNoChildren) user.wreuvers.Sent (\HasNoChildren)
user.wreuvers (\HasChildren) user.wreuvers.Trash (\HasNoChildren)
user.wreuvers.Drafts (\HasNoChildren)

running imtest seems to indicate that things are fine (as far as I can
tell anyway)

[root at LiveMail2 pam.d]# imtest -m login -a wfitzgerald at domain.com
livemail1.domain.com
S: * OK livemail1.domain.com Cyrus IMAP4
v2.2.8-Mandrake-RPM-2.2.8-2.1010mdk server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND
BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE
STARTTLS AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR LISTEXT LIST-SUBSCRIBED
X-NETSCAPE
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN wfitzgerald at domain.com {13}
S: + go ahead
C: <omitted>
S: L01 OK User logged in
Authenticated.
Security strength factor: 0
. logout
* BYE LOGOUT received
. OK Completed
Connection closed.

I’d appreciate any ideas.

Thanks
Warrick



More information about the Info-cyrus mailing list