Yes, the mailbox should be named user.test@mydomain, assuming you actually want to use virtual domains. Do you have virtdomains set in imapd.conf? Andy On Fri, 25 Jan 2013, Charles Bradshaw wrote: > Andrew > > Just a thought, should the mailbox name be 'user.test@mydomain' instead of > 'user.test'? > > Here is a dump of /var/lib/imap/mailboxes.db > # hexdump -c /var/lib/imap/mailboxes.db > 0000000 241 002 213 \r s k i p l i s t f i l > 0000010 e \0 \0 \0 \0 \0 \0 001 \0 \0 \0 002 \0 \0 \0 024 > 0000020 \0 \0 \0 001 \0 \0 \0 001 \0 \0 \0 320 Q 001 4 312 > 0000030 \0 \0 001 001 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 220 > 0000040 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 > * > 0000080 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 377 377 377 377 > 0000090 \0 \0 \0 001 \0 \0 \0 \t u s e r . t e s > 00000a0 t \0 \0 \0 \0 \0 \0 035 0 d e f a u l > 00000b0 t t e s t \t l r s w i p k x t > 00000c0 e c d a \t \0 \0 \0 \0 \0 \0 \0 377 377 377 377 > 00000d0 > > I see a "\tuser.test" is the tab correct? > > Also curiously cryadm cannot delete user.test giving "Permission denied": > > # cyradm -u cyrus localhost > Password: > localhost> lm > user.brad (\HasNoChildren) > localhost> dm user.brad > deletemailbox: Permission denied > localhost> quit > > Something fishy here. > > Thanks for your help, Charles Bradshaw > > On: Thu, 24 Jan 2013 13:11:02 -0800 (PST), Andrew Morgan wrote: > >> On Thu, 24 Jan 2013, Charles Bradshaw wrote: >> >>> >>> On: Thu, 24 Jan 2013 12:37:18 -0800 (PST), Andy wrote: >>> >>>> On Thu, 24 Jan 2013, Charles Bradshaw wrote: >>>> >>>>> Output from cyradm: >>>>> >>>>> $ cyradm --user cyrus localhost >>>>> Password: >>>>> localhost> lm * >>>>> user.test (\HasNoChildren) >>>>> localhost> >>>> >>>> Perhaps the user does not permission to see the mailbox? What does >>>> "lam user.test" in cyradm report? >>>> >>>> Andy >>> >>> # cyradm -u cyrus localhost >>> Password: >>> localhost> lam user.test >>> test lrswipkxtecda >>> localhost> >> >> Okay, can we confirm that you are connecting as the user "test"? >> Check your syslog for a message similar to: >> >> imap[30372]: login: cyrus-fe3.onid.oregonstate.edu [128.193.4.145] >> test PLAIN User logged in >> >> Perhaps we have a problem with virtualdomains. >> >> Andy > ------- End of Original Message ------- > > Andy > Here is a complete /var/log/maillog for a session. > > Jan 24 21:16:06 dell2600 imap[4844]: accepted connection > Jan 24 21:16:06 dell2600 master[5029]: about to exec /usr/lib/cyrus-imapd/imapd > Jan 24 21:16:06 dell2600 imap[5029]: executed > Jan 24 21:16:36 dell2600 imap[4844]: fetching user_deny.db entry for > 'test@mydomain' > Jan 24 21:16:36 dell2600 imap[4844]: login: localhost [::1] test@mydomain > plaintext User logged in > SESSIONID=<dell2600.bradcan.homelinux.com-4844-1359062166-1> > Jan 24 21:16:36 dell2600 imap[4844]: fetching user_deny.db entry for > 'test@mydomain' > Jan 24 21:16:51 dell2600 imap[4844]: fetching user_deny.db entry for > 'test@mydomain' > Jan 24 21:16:59 dell2600 imap[4844]: USAGE test@mydomain user: 0.009998 sys: > 0.009998 > Jan 24 21:18:51 dell2600 master[4485]: process 4844 exited, status 0 > Jan 24 21:19:06 dell2600 master[5036]: about to exec > /usr/lib/cyrus-imapd/ctl_cyrusdb > Jan 24 21:19:06 dell2600 ctl_cyrusdb[5036]: checkpointing cyrus databases > Jan 24 21:19:06 dell2600 ctl_cyrusdb[5036]: archiving database file: > /var/lib/imap/mailboxes.db > Jan 24 21:19:06 dell2600 ctl_cyrusdb[5036]: archiving database file: > /var/lib/imap/annotations.db > Jan 24 21:19:06 dell2600 ctl_cyrusdb[5036]: done checkpointing cyrus databases > Jan 24 21:19:06 dell2600 master[4485]: process 5036 exited, status 0 > > Also the telemetry log from /var/lib/imap/log/test@mydomain (I figured that I > need to name the directory user@realm) > >> 1359062196>a1 OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE ACL RIGHTS=kxte > QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN > MULTIAPPEND BINARY CATENATE CONDSTORE ESEARCH SORT SORT=MODSEQ SORT=DISPLAY > THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE LIST-EXTENDED WITHIN > QRESYNC SCAN XLIST URLAUTH URLAUTH=BINARY X-NETSCAPE LOGINDISABLED > COMPRESS=DEFLATE IDLE] User logged in > SESSIONID=<dell2600.bradcan.homelinux.com-4844-1359062166-1> > <1359062211<a2 LIST "" "*" >> 1359062211>a2 OK Completed (0.000 secs) > <1359062219<a3 LOGOUT >> 1359062219>* BYE LOGOUT received > a3 OK Completed > > Charles Bradshaw > ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus