On Mon, Mar 17, 2008 at 12:50 AM, Flash <flashl@xxxxxxx> wrote: > > > 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. You forgot to give us your imap.conf :-) Depending on your configuration (unixhierachy and virtualdomain) the good notation for your mailbox could be user/roboeb@xxxxxxxxxxxxxx user/roboeb or (but I have not the use of this format, and I'm not sure) user.roboeb yourdomain.com!user.roboeb (realy not sure) > > 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\* > Installed Packages > cyrus-imapd.i386 2.3.9-7.fc8 installed > cyrus-imapd-devel.i386 2.3.9-7.fc8 installed > cyrus-imapd-perl.i386 2.3.9-7.fc8 installed > cyrus-imapd-utils.i386 2.3.9-7.fc8 installed > cyrus-sasl.i386 2.1.22-8.fc8 installed > cyrus-sasl-devel.i386 2.1.22-8.fc8 installed > cyrus-sasl-gssapi.i386 2.1.22-8.fc8 installed > cyrus-sasl-lib.i386 2.1.22-8.fc8 installed > cyrus-sasl-md5.i386 2.1.22-8.fc8 installed > cyrus-sasl-plain.i386 2.1.22-8.fc8 installed > cyrus-sasl-sql.i386 2.1.22-8.fc8 installed > Available Packages > cyrus-sasl-ldap.i386 2.1.22-8.fc8 updates > cyrus-sasl-ntlm.i386 2.1.22-8.fc8 updates > ---------------------Command line cyrus startup > /usr/lib/cyrus-imapd/cyrus-master -D > No log handling enabled - turning on stderr logging > netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 > netsnmp_subtree_load() > netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 > netsnmp_subtree_load() > netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 > netsnmp_subtree_load() > Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) > Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none) > Cannot find module (UCD-DISKIO-MIB): At line 0 in (none) > Cannot find module (TCP-MIB): At line 0 in (none) > Cannot find module (UDP-MIB): At line 0 in (none) > Cannot find module (MTA-MIB): At line 0 in (none) > Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none) > Cannot find module (LM-SENSORS-MIB): At line 0 in (none) > Cannot find module (IP-MIB): At line 0 in (none) > Cannot find module (IF-MIB): At line 0 in (none) > Cannot find module (SNMPv2-MIB): At line 0 in (none) > Cannot find module (SNMPv2-SMI): At line 0 in (none) > Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none) > Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none) > Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none) > Cannot find module (UCD-SNMP-MIB): At line 0 in (none) > Cannot find module (UCD-DEMO-MIB): At line 0 in (none) > Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) > Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none) > Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) > Cannot find module (SNMP-MPD-MIB): At line 0 in (none) > Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) > Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) > Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) > Cannot find module (IPV6-ICMP-MIB): At line 0 in (none) > Cannot find module (IPV6-MIB): At line 0 in (none) > Cannot find module (IPV6-TCP-MIB): At line 0 in (none) > Cannot find module (IPV6-UDP-MIB): At line 0 in (none) > Cannot find module (IP-FORWARD-MIB): At line 0 in (none) > Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none) > Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) > Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) > Cannot find module (SNMPv2-TM): At line 0 in (none) > Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none) > Warning: Failed to connect to the agentx master agent ([NIL]): > Creating directory: /var/net-snmp > Failed to create the persistent directory for /var/net-snmp/cyrusMaster.conf > read_config_store open failure on /var/net-snmp/cyrusMaster.conf > Creating directory: /var/net-snmp > Failed to create the persistent directory for /var/net-snmp/cyrusMaster.conf > read_config_store open failure on /var/net-snmp/cyrusMaster.conf > Creating directory: /var/net-snmp > Failed to create the persistent directory for /var/net-snmp/cyrusMaster.conf > read_config_store open failure on /var/net-snmp/cyrusMaster.conf > -------------------------------------maillog from command line startup > tail -100 maillog > Mar 16 16:40:55 lauren master[1957]: service lmtpunix pid 1990 in READY > state: terminated abnormally > Mar 16 16:40:55 lauren master[1957]: service lmtpunix now has 0 ready > workers > Mar 16 16:40:55 lauren master[1991]: set maximum file descriptors to 256/256 > Mar 16 16:40:55 lauren master[1991]: about to exec > /usr/lib/cyrus-imapd/lmtpd > Mar 16 16:40:55 lauren lmtpunix[1991]: executed > Mar 16 16:40:55 lauren lmtpunix[1991]: DBERROR db4: > /var/lib/imap/deliver.db: unexpected file type or format > Mar 16 16:40:55 lauren lmtpunix[1991]: DBERROR: opening > /var/lib/imap/deliver.db: Invalid argument > Mar 16 16:40:55 lauren lmtpunix[1991]: DBERROR: opening > /var/lib/imap/deliver.db: cyrusdb error > Mar 16 16:40:55 lauren lmtpunix[1991]: FATAL: lmtpd: unable to init > duplicate delivery database > Mar 16 16:40:55 lauren master[1957]: listening for messages from imap > Mar 16 16:40:55 lauren master[1957]: listening for messages from pop3 > Mar 16 16:40:55 lauren master[1957]: listening for messages from sieve > Mar 16 16:40:55 lauren master[1957]: listening for connections for sieve > Mar 16 16:40:55 lauren master[1957]: listening for messages from lmtpunix > Mar 16 16:40:55 lauren master[1957]: listening for messages from imap > Mar 16 16:40:55 lauren master[1957]: listening for messages from pop3 > Mar 16 16:40:55 lauren master[1957]: listening for messages from sieve > Mar 16 16:40:55 lauren master[1957]: listening for connections for sieve > Mar 16 16:40:56 lauren ctl_cyrusdb[1961]: archiving log file: > /var/lib/imap/db/log.0000000001 > Mar 16 16:40:57 lauren ctl_cyrusdb[1961]: archiving database file: > /var/lib/imap/annotations.db > Mar 16 16:40:57 lauren ctl_cyrusdb[1961]: archiving database file: > /var/lib/imap/mailboxes.db > Mar 16 16:40:57 lauren ctl_cyrusdb[1961]: archiving log file: > /var/lib/imap/db/log.0000000001 > Mar 16 16:40:59 lauren ctl_cyrusdb[1961]: done checkpointing cyrus databases > Mar 16 16:40:59 lauren master[1957]: process 1961 exited, status 0 > Mar 16 16:40:59 lauren master[1957]: process 1991 exited, status 75 > Mar 16 16:40:59 lauren master[1957]: service lmtpunix pid 1991 in READY > state: terminated abnormally > Mar 16 16:40:59 lauren master[1957]: service lmtpunix now has 0 ready > workers > Mar 16 16:40:59 lauren master[1992]: set maximum file descriptors to 256/256 > Mar 16 16:40:59 lauren master[1992]: about to exec > /usr/lib/cyrus-imapd/lmtpd > Mar 16 16:40:59 lauren lmtpunix[1992]: executed > Mar 16 16:40:59 lauren lmtpunix[1992]: DBERROR db4: > /var/lib/imap/deliver.db: unexpected file type or format > Mar 16 16:40:59 lauren lmtpunix[1992]: DBERROR: opening > /var/lib/imap/deliver.db: Invalid argument > Mar 16 16:40:59 lauren lmtpunix[1992]: DBERROR: opening > /var/lib/imap/deliver.db: cyrusdb error > Mar 16 16:40:59 lauren lmtpunix[1992]: FATAL: lmtpd: unable to init > duplicate delivery database > > ---- > 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 > -- Alain Spineux aspineux gmail com May the sources be with you ---- 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