creating mailboxes

William K. Hardeman wont-i at wkh.org
Wed Mar 10 08:50:00 EST 2004


--On Wednesday, 10 March, 2004 07:17 -0600 Ian Beyer <manuka at nerdherd.net> 
wrote:

>
> That's what I initially suspected, but here's the conversation with my
> system:
>
>
> schizo [178]# pkill xinetd
> schizo [179]# ps -ef | grep imap
> ~  andrea 12302     1  0 18:01:21 ?        0:00 imapd
> ~  manuka 17720     1  0 06:33:26 ?        0:00 imapd
> ~  manuka 13516     1  0 20:23:28 ?        0:00 imapd
> ~  andrea 12997     1  0 19:21:21 ?        0:01 imapd
> ~    root 11936  4097  0   Mar 06 pts/4    0:00 tail -f /var/log/imapd.log
> schizo [180]# pkill imapd
> schizo [181]# ps -ef | grep sasl
> ~    root 12106 12102  0 17:43:30 ?        0:00 saslauthd -a shadow
> ~    root 12102     1  0 17:43:29 ?        0:00 saslauthd -a shadow
> ~    root 12103 12102  0 17:43:29 ?        0:00 saslauthd -a shadow
> ~    root 12105 12102  0 17:43:30 ?        0:00 saslauthd -a shadow
> ~    root 12104 12102  0 17:43:30 ?        0:00 saslauthd -a shadow
> schizo [182]# /usr/cyrus/bin/master &
> [1] 17961
> schizo [183]# telnet localhost imap
> Trying 127.0.0.1...
> Connected to localhost (127.0.0.1).
> Escape character is '^]'.
> * OK schizo Cyrus IMAP4 v2.2.3 server ready
> . logout
> * BYE LOGOUT received
> . OK Completed
> Connection closed by foreign host.
> schizo [184]# cyradm --user mailadm localhost
> IMAP Password:
>
> localhost> lm
> user.manuka (\HasNoChildren)
> localhost> dm user.manuka
> deletemailbox: Permission denied
> localhost> cm user.ian
> localhost> lm
> user.ian (\HasNoChildren)     user.manuka (\HasNoChildren)
> localhost> quit

Ok. You're finally getting connected to the cyrus server, now, as opposed 
to whatever imap server was setup and running. The user.manuka is reporting 
'HasNoChildren', which it should do if the other imap server were still 
running.

> schizo [185]# cd ~mailadm
> schizo [186]# ls
> user.ian           user.manuka        user.manuka.lists  user.manuka.test
> schizo [187]# ls -l
> total 8
> - -rw-------   1 mailadm  other        507 Mar  9 17:50 user.ian
> - -rw-------   1 mailadm  other        507 Mar  9 17:47 user.manuka
> - -rw-------   1 mailadm  other        507 Mar  9 17:47 user.manuka.lists
> - -rw-------   1 mailadm  other        507 Mar  9 17:48 user.manuka.test

Those timestamps on the user.* files in the mailadm file are from yesterday 
afternoon. cd to your default spool and do a find for a user's name (find . 
-name 'manuka'). You should find a directory in the spool directory 
structure with that user's name and with several cyrus.* files.

Will

----------------------------------------------------------------------------
William K. Hardeman
wont-i at wkh.org
http://www.wkh.org

The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
                -- Isaac Asimov

Always listen to experts. They'll tell you what can't be done and why. Then
do it.
--Robert A. Heinlein
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list