<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1607" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Greetings,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Please direct me to some debugging method to solve
the permission complaint.</FONT></DIV>
<DIV><FONT face=Arial size=2>-------------system information</FONT></DIV>
<DIV><FONT face=Arial size=2>- cyrus is admin in imapd.conf</FONT></DIV>
<DIV><FONT face=Arial size=2>- user cyrus and group mail have permissions
in directories /var/spool/imap and /var/lib/imap</FONT></DIV>
<DIV><FONT face=Arial size=2>- cyradm and imtest connections are
authenticated</FONT></DIV>
<DIV><FONT face=Arial size=2>- cyrus authenticates via sasl_sql</FONT></DIV>
<DIV><FONT face=Arial size=2>- perl modules are current</FONT></DIV>
<DIV><FONT face=Arial size=2>- no error reporting in /var/log within messages,
auth.log, or cyrus.log</FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>----------------------------Sample imtest
session:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=2>
<P># imtest -u cyrus -a cyrus localhost</P>
<P>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</P>
<P>C: C01 CAPABILITY</P>
<P>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</P>
<P>S: C01 OK Completed</P>
<P>Please enter your password: </P>
<P>C: A01 AUTHENTICATE PLAIN *SOMESTRING*</P>
<P>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)</P>
<P>Authenticated.</P>
<P>Security strength factor: 0</P>
<P>. create user.roboeb</P>
<P>. NO Permission denied</P>
<P>. logout</P>
<P>* BYE LOGOUT received</P>
<P>. OK Completed</P>
<P>Connection closed.</P></FONT></DIV>
<DIV><FONT face=Arial size=2>-------------------------- Directory
structures</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT size=2>
<P>ls -ld /var/lib/imap/</P>
<P>drwxr-x--- 18 cyrus mail 4096 2008-03-16 12:36 /var/lib/imap/</P>
<P>----------------------</P>
<P>ls -ld /var/spool/imap/</P>
<P>drwx------ 4 cyrus mail 4096 2008-03-15 15:50 /var/spool/imap/</P>
<P>----------------------</P>
<P>ls -lR /var/spool/imap</P>
<P>/var/spool/imap:</P>
<P>total 16</P>
<P>drwxr-xr-x 2 cyrus mail 4096 2008-03-15 15:50 stage.</P>
<P>drwxr-xr-x 2 cyrus mail 4096 2008-03-15 15:50 sync.</P>
<P>/var/spool/imap/stage.:</P>
<P>total 0</P>
<P>/var/spool/imap/sync.:</P>
<P>----------------------</P>
<P>ls -lR /var/lib/imap</P>
<P>/var/lib/imap:</P>
<P>total 160</P>
<P>-rw------- 1 cyrus mail 144 2008-03-16 06:11 annotations.db</P>
<P>drwx------ 2 cyrus mail 4096 2007-09-25 02:21 backup</P>
<P>drwx------ 2 cyrus mail 4096 2008-03-16 12:36 db</P>
<P>drwx------ 2 cyrus mail 4096 2008-03-16 12:12 db.backup1</P>
<P>drwx------ 2 cyrus mail 4096 2008-03-16 11:42 db.backup2</P>
<P>-rw------- 1 cyrus mail 144 2008-03-16 12:36 deliver.db</P>
<P>drwx------ 2 cyrus mail 4096 2007-09-25 02:21 log</P>
<P>-rw------- 1 cyrus mail 144 2008-03-16 06:11 mailboxes.db</P>
<P>drwx------ 2 cyrus mail 4096 2007-09-25 02:21 md5</P>
<P>drwx------ 2 cyrus mail 4096 2007-09-25 02:21 meta</P>
<P>drwx------ 2 cyrus mail 4096 2007-09-25 02:21 msg</P>
<P>drwx------ 2 cyrus mail 4096 2008-03-15 18:04 proc</P>
<P>drwx------ 2 cyrus mail 4096 2007-09-25 02:21 ptclient</P>
<P>drwx------ 2 cyrus mail 4096 2007-09-25 02:21 quota</P>
<P>drwx------ 2 cyrus mail 4096 2008-03-16 12:36 rpm</P>
<P>drwx------ 2 cyrus mail 4096 2007-09-25 02:21 sieve</P>
<P>drwxr-x--- 2 cyrus mail 4096 2008-03-16 06:11 socket</P>
<P>drwx------ 2 cyrus mail 4096 2007-09-25 02:21 sync</P>
<P>-rw------- 1 cyrus mail 144 2008-03-16 12:36 tls_sessions.db</P>
<P>drwx------ 2 cyrus mail 4096 2007-09-25 02:21 user</P>
<P>/var/lib/imap/backup:</P>
<P>total 0</P>
<P>/var/lib/imap/db:</P>
<P>total 8</P>
<P>-rw------- 1 cyrus mail 4 2008-03-16 06:11 skipstamp</P>
<P>/var/lib/imap/db.backup1:</P>
<P>total 10276</P>
<P>-rw------- 1 cyrus mail 144 2008-03-16 12:12 annotations.db</P>
<P>-rw------- 1 cyrus mail 10485760 2008-03-16 12:12 log.0000000001</P>
<P>-rw------- 1 cyrus mail 144 2008-03-16 12:12 mailboxes.db</P>
<P>/var/lib/imap/db.backup2:</P>
<P>total 10276</P>
<P>-rw------- 1 cyrus mail 144 2008-03-16 11:42 annotations.db</P>
<P>-rw------- 1 cyrus mail 10485760 2008-03-16 11:42 log.0000000001</P>
<P>-rw------- 1 cyrus mail 144 2008-03-16 11:42 mailboxes.db</P>
<P>/var/lib/imap/log:</P>
<P>total 0</P>
<P>/var/lib/imap/md5:</P>
<P>total 0</P>
<P>/var/lib/imap/meta:</P>
<P>total 0</P>
<P>/var/lib/imap/msg:</P>
<P>total 0</P>
<P>/var/lib/imap/proc:</P>
<P>total 0</P>
<P>/var/lib/imap/ptclient:</P>
<P>total 0</P>
<P>/var/lib/imap/quota:</P>
<P>total 0</P>
<P>/var/lib/imap/rpm:</P>
<P>total 24</P>
<P>-rw------- 1 cyrus mail 212 2008-03-16 12:36 db.cfg.cache</P>
<P>-rw------- 1 cyrus mail 904 2008-03-16 12:36 db_export.log</P>
<P>-rw------- 1 cyrus mail 601 2008-03-16 06:11 db_import.log</P>
<P>/var/lib/imap/sieve:</P>
<P>total 0</P>
<P>/var/lib/imap/socket:</P>
<P>total 44</P>
<P>srwxrwxrwx 1 cyrus mail 0 2008-03-16 06:11 idle</P>
<P>-rw------- 1 cyrus mail 0 2008-03-15 15:12 imap-0.lock</P>
<P>-rw------- 1 cyrus mail 0 2008-03-15 15:12 imap-1.lock</P>
<P>-rw------- 1 cyrus mail 0 2008-03-15 15:12 imaps-0.lock</P>
<P>-rw------- 1 cyrus mail 0 2008-03-15 15:12 imaps-1.lock</P>
<P>srwxrwxrwx 1 root root 0 2008-03-16 06:11 lmtp</P>
<P>-rw------- 1 cyrus mail 0 2008-03-15 15:12 lmtpunix-0.lock</P>
<P>-rw------- 1 cyrus mail 0 2008-03-15 15:12 pop3-0.lock</P>
<P>-rw------- 1 cyrus mail 0 2008-03-15 15:12 pop3-1.lock</P>
<P>-rw------- 1 cyrus mail 0 2008-03-15 15:12 pop3s-0.lock</P>
<P>-rw------- 1 cyrus mail 0 2008-03-15 15:12 pop3s-1.lock</P>
<P>/var/lib/imap/sync:</P>
<P>total 0</P>
<P>/var/lib/imap/user:</P>
<P>total 0</P>
<P>-------------------------------------Software installed</P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN
style="mso-fareast-font-family: 'MS Mincho'"><FONT face="Courier New"><SPAN
style="mso-spacerun: yes"> </SPAN>yum list cyrus\*<BR>Installed
Packages<BR>cyrus-imapd.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.3.9-7.fc8<SPAN style="mso-spacerun: yes">
</SPAN><SPAN
style="mso-spacerun: yes"> </SPAN>installed<SPAN
style="mso-spacerun: yes">
</SPAN><BR>cyrus-imapd-devel.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.3.9-7.fc8<SPAN
style="mso-spacerun: yes">
</SPAN>installed<SPAN
style="mso-spacerun: yes">
</SPAN><BR>cyrus-imapd-perl.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.3.9-7.fc8<SPAN
style="mso-spacerun: yes">
</SPAN>installed<SPAN
style="mso-spacerun: yes">
</SPAN><BR>cyrus-imapd-utils.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.3.9-7.fc8<SPAN
style="mso-spacerun: yes">
</SPAN>installed<SPAN
style="mso-spacerun: yes">
</SPAN><BR>cyrus-sasl.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.1.22-8.fc8<SPAN
style="mso-spacerun: yes">
</SPAN>installed<SPAN
style="mso-spacerun: yes">
</SPAN><BR>cyrus-sasl-devel.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.1.22-8.fc8<SPAN
style="mso-spacerun: yes">
</SPAN>installed<SPAN
style="mso-spacerun: yes">
</SPAN><BR>cyrus-sasl-gssapi.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.1.22-8.fc8<SPAN
style="mso-spacerun: yes">
</SPAN>installed<SPAN
style="mso-spacerun: yes">
</SPAN><BR>cyrus-sasl-lib.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.1.22-8.fc8<SPAN
style="mso-spacerun: yes">
</SPAN>installed<SPAN
style="mso-spacerun: yes">
</SPAN><BR>cyrus-sasl-md5.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.1.22-8.fc8<SPAN
style="mso-spacerun: yes">
</SPAN>installed<SPAN
style="mso-spacerun: yes">
</SPAN><BR>cyrus-sasl-plain.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.1.22-8.fc8<SPAN
style="mso-spacerun: yes">
</SPAN>installed<SPAN
style="mso-spacerun: yes">
</SPAN><BR>cyrus-sasl-sql.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.1.22-8.fc8<SPAN
style="mso-spacerun: yes">
</SPAN>installed<SPAN
style="mso-spacerun: yes">
</SPAN><BR>Available Packages<BR>cyrus-sasl-ldap.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.1.22-8.fc8<SPAN
style="mso-spacerun: yes">
</SPAN>updates<SPAN
style="mso-spacerun: yes">
</SPAN><BR>cyrus-sasl-ntlm.i386<SPAN
style="mso-spacerun: yes">
</SPAN>2.1.22-8.fc8<SPAN
style="mso-spacerun: yes">
</SPAN>updates <BR>---------------------Command line cyrus
startup<BR>/usr/lib/cyrus-imapd/cyrus-master -D <BR>No log handling enabled -
turning on stderr logging<BR>netsnmp_assert !"registration != duplicate" failed
agent_registry.c:535 netsnmp_subtree_load()<BR>netsnmp_assert !"registration !=
duplicate" failed agent_registry.c:535 netsnmp_subtree_load()<BR>netsnmp_assert
!"registration != duplicate" failed agent_registry.c:535
netsnmp_subtree_load()<BR>Cannot find module (HOST-RESOURCES-MIB): At line 0 in
(none)<BR>Cannot find module (HOST-RESOURCES-TYPES): At line 0 in
(none)<BR>Cannot find module (UCD-DISKIO-MIB): At line 0 in (none)<BR>Cannot
find module (TCP-MIB): At line 0 in (none)<BR>Cannot find module (UDP-MIB): At
line 0 in (none)<BR>Cannot find module (MTA-MIB): At line 0 in (none)<BR>Cannot
find module (NETWORK-SERVICES-MIB): At line 0 in (none)<BR>Cannot find module
(LM-SENSORS-MIB): At line 0 in (none)<BR>Cannot find module (IP-MIB): At line 0
in (none)<BR>Cannot find module (IF-MIB): At line 0 in (none)<BR>Cannot find
module (SNMPv2-MIB): At line 0 in (none)<BR>Cannot find module (SNMPv2-SMI): At
line 0 in (none)<BR>Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in
(none)<BR>Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)<BR>Cannot
find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)<BR>Cannot find module
(UCD-SNMP-MIB): At line 0 in (none)<BR>Cannot find module (UCD-DEMO-MIB): At
line 0 in (none)<BR>Cannot find module (SNMP-TARGET-MIB): At line 0 in
(none)<BR>Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)<BR>Cannot
find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)<BR>Cannot find module
(SNMP-MPD-MIB): At line 0 in (none)<BR>Cannot find module
(SNMP-USER-BASED-SM-MIB): At line 0 in (none)<BR>Cannot find module
(SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)<BR>Cannot find module
(SNMP-COMMUNITY-MIB): At line 0 in (none)<BR>Cannot find module (IPV6-ICMP-MIB):
At line 0 in (none)<BR>Cannot find module (IPV6-MIB): At line 0 in
(none)<BR>Cannot find module (IPV6-TCP-MIB): At line 0 in (none)<BR>Cannot find
module (IPV6-UDP-MIB): At line 0 in (none)<BR>Cannot find module
(IP-FORWARD-MIB): At line 0 in (none)<BR>Cannot find module
(NET-SNMP-EXTEND-MIB): At line 0 in (none)<BR>Cannot find module
(UCD-DLMOD-MIB): At line 0 in (none)<BR>Cannot find module
(SNMP-NOTIFICATION-MIB): At line 0 in (none)<BR>Cannot find module (SNMPv2-TM):
At line 0 in (none)<BR>Cannot find module (NET-SNMP-VACM-MIB): At line 0 in
(none)<BR>Warning: Failed to connect to the agentx master agent ([NIL]):
<BR>Creating directory: /var/net-snmp<BR>Failed to create the persistent
directory for /var/net-snmp/cyrusMaster.conf<BR>read_config_store open failure
on /var/net-snmp/cyrusMaster.conf<BR>Creating directory: /var/net-snmp<BR>Failed
to create the persistent directory for
/var/net-snmp/cyrusMaster.conf<BR>read_config_store open failure on
/var/net-snmp/cyrusMaster.conf<BR>Creating directory: /var/net-snmp<BR>Failed to
create the persistent directory for
/var/net-snmp/cyrusMaster.conf<BR>read_config_store open failure on
/var/net-snmp/cyrusMaster.conf<BR>-------------------------------------maillog
from command line startup<BR>tail -100 maillog<BR>Mar 16 16:40:55 lauren
master[1957]: service lmtpunix pid 1990 in READY state: terminated
abnormally<BR>Mar 16 16:40:55 lauren master[1957]: service lmtpunix now has 0
ready workers<BR>Mar 16 16:40:55 lauren master[1991]: set maximum file
descriptors to 256/256<BR>Mar 16 16:40:55 lauren master[1991]: about to exec
/usr/lib/cyrus-imapd/lmtpd<BR>Mar 16 16:40:55 lauren lmtpunix[1991]:
executed<BR>Mar 16 16:40:55 lauren lmtpunix[1991]: DBERROR db4:
/var/lib/imap/deliver.db: unexpected file type or format<BR>Mar 16 16:40:55
lauren lmtpunix[1991]: DBERROR: opening /var/lib/imap/deliver.db: Invalid
argument<BR>Mar 16 16:40:55 lauren lmtpunix[1991]: DBERROR: opening
/var/lib/imap/deliver.db: cyrusdb error<BR>Mar 16 16:40:55 lauren
lmtpunix[1991]: FATAL: lmtpd: unable to init duplicate delivery database<BR>Mar
16 16:40:55 lauren master[1957]: listening for messages from imap<BR>Mar 16
16:40:55 lauren master[1957]: listening for messages from pop3<BR>Mar 16
16:40:55 lauren master[1957]: listening for messages from sieve<BR>Mar 16
16:40:55 lauren master[1957]: listening for connections for sieve<BR>Mar 16
16:40:55 lauren master[1957]: listening for messages from lmtpunix<BR>Mar 16
16:40:55 lauren master[1957]: listening for messages from imap<BR>Mar 16
16:40:55 lauren master[1957]: listening for messages from pop3<BR>Mar 16
16:40:55 lauren master[1957]: listening for messages from sieve<BR>Mar 16
16:40:55 lauren master[1957]: listening for connections for sieve<BR>Mar 16
16:40:56 lauren ctl_cyrusdb[1961]: archiving log file:
/var/lib/imap/db/log.0000000001<BR>Mar 16 16:40:57 lauren ctl_cyrusdb[1961]:
archiving database file: /var/lib/imap/annotations.db<BR>Mar 16 16:40:57 lauren
ctl_cyrusdb[1961]: archiving database file: /var/lib/imap/mailboxes.db<BR>Mar 16
16:40:57 lauren ctl_cyrusdb[1961]: archiving log file:
/var/lib/imap/db/log.0000000001<BR>Mar 16 16:40:59 lauren ctl_cyrusdb[1961]:
done checkpointing cyrus databases<BR>Mar 16 16:40:59 lauren master[1957]:
process 1961 exited, status 0<BR>Mar 16 16:40:59 lauren master[1957]: process
1991 exited, status 75<BR>Mar 16 16:40:59 lauren master[1957]: service lmtpunix
pid 1991 in READY state: terminated abnormally<BR>Mar 16 16:40:59 lauren
master[1957]: service lmtpunix now has 0 ready workers<BR>Mar 16 16:40:59 lauren
master[1992]: set maximum file descriptors to 256/256<BR>Mar 16 16:40:59 lauren
master[1992]: about to exec /usr/lib/cyrus-imapd/lmtpd<BR>Mar 16 16:40:59 lauren
lmtpunix[1992]: executed<BR>Mar 16 16:40:59 lauren lmtpunix[1992]: DBERROR db4:
/var/lib/imap/deliver.db: unexpected file type or format<BR>Mar 16 16:40:59
lauren lmtpunix[1992]: DBERROR: opening /var/lib/imap/deliver.db: Invalid
argument<BR>Mar 16 16:40:59 lauren lmtpunix[1992]: DBERROR: opening
/var/lib/imap/deliver.db: cyrusdb error<BR>Mar 16 16:40:59 lauren
lmtpunix[1992]: FATAL: lmtpd: unable to init duplicate delivery
database</FONT><BR></SPAN></P></FONT></FONT></DIV></BODY></HTML>