Migration and Inbox trouble

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


Hello,
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
like:

$username:user.$username.Inbox:/var/spool/mail/$username
$username:user.$username.Sent:/var/spool/mail/$username
$username:user.$username.Trash:/var/spool/mail/$username

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
/var/spool/imap/user/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

./Inbox:
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
002 SELECT INBOX
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft
\Deleted \Seen \*)]
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1057081376]
* OK [UIDNEXT 1]
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[127.0.0.1] alfonso
 plaintext
Jul 18 12:31:08 fork imapd[16329]: seen_db: user
alfonso opened /var/imap/user/a/a
lfonso.seen
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!
http://sbc.yahoo.com




More information about the Info-cyrus mailing list