Greetings,
I have two freshly installed Fedora 8 systems
exhibiting the same behaviour, cyrus admin permission error when creating a
mailbox, this may be only coincidental because of the operator.
After several days of research reading and
reviewing multiple cyrus installation howtos, then IMAP RFC, installing and
uninstalling, and following threads in discussion forums, I am unable
to find the persistant cause of the permission error.
Please direct me to some debugging method to solve
the permission complaint.
-------------system information
- cyrus is admin in imapd.conf
- user cyrus and group mail have permissions
in directories /var/spool/imap and /var/lib/imap
- cyradm and imtest connections are
authenticated
- cyrus authenticates via sasl_sql
- perl modules are current
- no error reporting in /var/log within messages,
auth.log, or cyrus.log
----------------------------Sample imtest
session:
# imtest -u cyrus -a cyrus localhost S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN AUTH=LOGIN SASL-IR] mysmtp.mydomain.net Cyrus IMAP4 v2.3.9-Fedora-RPM-2.3.9-7.fc8 server ready C: C01 CAPABILITY S: * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN AUTH=LOGIN SASL-IR ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH S: C01 OK Completed Please enter your password: C: A01 AUTHENTICATE PLAIN *SOMESTRING* S: A01 OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID LOGINDISABLED ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH] Success (no protection) Authenticated. Security strength factor: 0 . create user.roboeb . NO Permission denied . logout * BYE LOGOUT received . OK Completed Connection closed. -------------------------- Directory
structures
ls -ld /var/lib/imap/ drwxr-x--- 18 cyrus mail 4096 2008-03-16 12:36 /var/lib/imap/ ---------------------- ls -ld /var/spool/imap/ drwx------ 4 cyrus mail 4096 2008-03-15 15:50 /var/spool/imap/ ---------------------- ls -lR /var/spool/imap /var/spool/imap: total 16 drwxr-xr-x 2 cyrus mail 4096 2008-03-15 15:50 stage. drwxr-xr-x 2 cyrus mail 4096 2008-03-15 15:50 sync. /var/spool/imap/stage.: total 0 /var/spool/imap/sync.: ---------------------- ls -lR /var/lib/imap /var/lib/imap: total 160 -rw------- 1 cyrus mail 144 2008-03-16 06:11 annotations.db drwx------ 2 cyrus mail 4096 2007-09-25 02:21 backup drwx------ 2 cyrus mail 4096 2008-03-16 12:36 db drwx------ 2 cyrus mail 4096 2008-03-16 12:12 db.backup1 drwx------ 2 cyrus mail 4096 2008-03-16 11:42 db.backup2 -rw------- 1 cyrus mail 144 2008-03-16 12:36 deliver.db drwx------ 2 cyrus mail 4096 2007-09-25 02:21 log -rw------- 1 cyrus mail 144 2008-03-16 06:11 mailboxes.db drwx------ 2 cyrus mail 4096 2007-09-25 02:21 md5 drwx------ 2 cyrus mail 4096 2007-09-25 02:21 meta drwx------ 2 cyrus mail 4096 2007-09-25 02:21 msg drwx------ 2 cyrus mail 4096 2008-03-15 18:04 proc drwx------ 2 cyrus mail 4096 2007-09-25 02:21 ptclient drwx------ 2 cyrus mail 4096 2007-09-25 02:21 quota drwx------ 2 cyrus mail 4096 2008-03-16 12:36 rpm drwx------ 2 cyrus mail 4096 2007-09-25 02:21 sieve drwxr-x--- 2 cyrus mail 4096 2008-03-16 06:11 socket drwx------ 2 cyrus mail 4096 2007-09-25 02:21 sync -rw------- 1 cyrus mail 144 2008-03-16 12:36 tls_sessions.db drwx------ 2 cyrus mail 4096 2007-09-25 02:21 user /var/lib/imap/backup: total 0 /var/lib/imap/db: total 8 -rw------- 1 cyrus mail 4 2008-03-16 06:11 skipstamp /var/lib/imap/db.backup1: total 10276 -rw------- 1 cyrus mail 144 2008-03-16 12:12 annotations.db -rw------- 1 cyrus mail 10485760 2008-03-16 12:12 log.0000000001 -rw------- 1 cyrus mail 144 2008-03-16 12:12 mailboxes.db /var/lib/imap/db.backup2: total 10276 -rw------- 1 cyrus mail 144 2008-03-16 11:42 annotations.db -rw------- 1 cyrus mail 10485760 2008-03-16 11:42 log.0000000001 -rw------- 1 cyrus mail 144 2008-03-16 11:42 mailboxes.db /var/lib/imap/log: total 0 /var/lib/imap/md5: total 0 /var/lib/imap/meta: total 0 /var/lib/imap/msg: total 0 /var/lib/imap/proc: total 0 /var/lib/imap/ptclient: total 0 /var/lib/imap/quota: total 0 /var/lib/imap/rpm: total 24 -rw------- 1 cyrus mail 212 2008-03-16 12:36 db.cfg.cache -rw------- 1 cyrus mail 904 2008-03-16 12:36 db_export.log -rw------- 1 cyrus mail 601 2008-03-16 06:11 db_import.log /var/lib/imap/sieve: total 0 /var/lib/imap/socket: total 44 srwxrwxrwx 1 cyrus mail 0 2008-03-16 06:11 idle -rw------- 1 cyrus mail 0 2008-03-15 15:12 imap-0.lock -rw------- 1 cyrus mail 0 2008-03-15 15:12 imap-1.lock -rw------- 1 cyrus mail 0 2008-03-15 15:12 imaps-0.lock -rw------- 1 cyrus mail 0 2008-03-15 15:12 imaps-1.lock srwxrwxrwx 1 root root 0 2008-03-16 06:11 lmtp -rw------- 1 cyrus mail 0 2008-03-15 15:12 lmtpunix-0.lock -rw------- 1 cyrus mail 0 2008-03-15 15:12 pop3-0.lock -rw------- 1 cyrus mail 0 2008-03-15 15:12 pop3-1.lock -rw------- 1 cyrus mail 0 2008-03-15 15:12 pop3s-0.lock -rw------- 1 cyrus mail 0 2008-03-15 15:12 pop3s-1.lock /var/lib/imap/sync: total 0 /var/lib/imap/user: total 0 -------------------------------------Software installed yum list cyrus\* |
---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html