Cyrus - can't create user mailbox

Stephen Liu satimis at yahoo.com
Sun Jun 8 22:39:23 EDT 2008


Hi Simon,


Thanks for your advice.


It is my first time running cyrus-imap to setup a LAMP server.  Most
times I run courier-imap.  This is a test running headless on
installation and w/o X packages installed.  The server is working. 
Postfix can send mails via telnet.  I suppose it can also receive mail
because the mail sent to "satimiscyrus" has not been rejected so far. 
But I can't locate the mail.  


Also neither I can login on SquirrelMail.


On /etc/postfix/main.cf
mailbox_transport = cyrus
mailbox_transport = lmtp:unix:/var/run/lmtp


User "satimiscyrus" is created with "useradd"


$ sudo ls -la /home/satimiscyrus/
total 24
drwxr-xr-x 2 satimiscyrus users 4096 2008-06-09 09:47 .
drwxr-xr-x 7 root         root  4096 2008-06-09 09:29 ..
-rw------- 1 satimiscyrus users   74 2008-06-09 09:47 .bash_history
-rw-r--r-- 1 satimiscyrus users  220 2008-06-09 09:29 .bash_logout
-rw-r--r-- 1 satimiscyrus users  414 2008-06-09 09:29 .bash_profile
-rw-r--r-- 1 satimiscyrus users 2227 2008-06-09 09:29 .bashrc


- snip -

> > $ cyradm -u cyrus localhost
> > Password:
> > localhost> cm user.satimiscyrus
> > localhost> quit
> >
> > it works.  But I can't find this new user NOR its mailbox.
> 
> Login via IMAP and your mailbox is there (locate is only useful after
> updatedb has run so don't expect it to show anything immediately).
> You can also try the cyradm command 'lm' and it should show your
> mailbox.


$ sudo updatedb
$ locate satimiscyrus
/var/spool/cyrus/mail/u/user^satimiscyrus
/var/spool/cyrus/mail/u/user^satimiscyrus/cyrus.cache
/var/spool/cyrus/mail/u/user^satimiscyrus/cyrus.header
/var/spool/cyrus/mail/u/user^satimiscyrus/cyrus.index


The mailbox is there.  What is user^ for?


$ sudo ls /var/spool/cyrus/mail/
a  c  e  g  i  k  m  o  q  s       t  v  x  z
b  d  f  h  j  l  n  p  r  stage.  u  w  y


$ sudo ls /var/spool/cyrus/mail/u/user^satimiscyrus
cyrus.cache  cyrus.header  cyrus.index


$ cyradm -u satimiscyrus localhost
Password:
localhost> lm user.satimiscyrus
user.satimiscyrus (\HasNoChildren)


What does (\HasNoChildren) indicate ?


localhost> lm satimiscyrus
localhost> lm satimiscyrus.%
both without printout.


I can't find the mailbox with 'lm'


Please help.  TIA


P.S. Where can I find a relevant document other than;

http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/WebHome


B.R.
Stephen L



Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the Info-cyrus mailing list