Migration and Inbox trouble

joe ritter glestadt4 at yahoo.com
Fri Jul 18 10:38:28 EDT 2003

Last night I  moved our users over from UW Imap to
Cyrus using the procedure outlined in Adam Williams
wonderful document at kalamazoolinux.org. However
since our userss only previously had three folders
Inbox, Sent and Trash. I created the mailboxes.txt
file which gets fed to the bsd2cyrus script like so
that each user had three lines in the file that looked


I think maybe this is where my touble lies. I noticed
that I can cd into a user who has mail:

cd /var/spool/imap/alfonso
[root at fork alfonso]# ls -lR | more
total 24
-rw-------    1 cyrus    mail            4 Jul  1
13:42 cyrus.cache
-rw-------    1 cyrus    mail          165 Jul  1
13:42 cyrus.header
-rw-------    1 cyrus    mail           76 Jul  1
13:42 cyrus.index
drwx------    2 cyrus    mail         4096 Jul 18
02:33 Inbox
drwx------    2 cyrus    mail         4096 Jul 17
21:21 Sent
drwx------    2 cyrus    mail         4096 Jul 17
21:21 Trash

total 592
-rw-r--r--    1 cyrus    mail         1091 Jul 18
02:33 1.
-rw-r--r--    1 cyrus    mail        13437 Jul 18
02:33 10.
-rw-r--r--    1 cyrus    mail        37195 Jul 18
02:33 11.
-rw-r--r--    1 cyrus    mail        14229 Jul 18
02:33 12.

Yes if I telnet to port 143. It show there are no
messages in the Inbox. I see the following:

 OK mail.internal.com Cyrus IMAP4 v2.1.13 server ready

001 LOGIN alfonso "xxxx"
001 OK User logged in
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft
\Deleted \Seen \*)]
* OK [UIDVALIDITY 1057081376]
002 OK [READ-WRITE] Completed

If I do a "SELECT Inbox" I get the same resulat as
well. Did I completely drop the ball here by creating
Inbox and not INBOX(all in caps) Something is strange.
If somebody could give me a second pair of eyes on
this I would greatly appreciate any feedback. There
perms on /var/spool/imap/user/$username are all owned
by cyrus and mail. All messages in Inbox are 644. The
entries I see in /var/spool/imapd.log for the above
telnet session are as follows:

Jul 18 12:30:53 fork imapd[16329]: login:
localhost.localdomain[] alfonso
Jul 18 12:31:08 fork imapd[16329]: seen_db: user
alfonso opened /var/imap/user/a/a
Jul 18 12:31:08 fork imapd[16329]: open: user alfonso
opened INBOX
Jul 18 12:34:59 fork imapd[16329]: open: user alfonso
opened Inbox

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

More information about the Info-cyrus mailing list