NO Mailbox does not exist

Ondrej Sury ondrej at sury.org
Fri Jun 24 07:46:59 EDT 2005


Hi James,

maybe you could try to attach strace to running imap process, ie.:

# telnet localhost imap (and everything before SELECT INBOX)
# ps -ef | grep imap (pick right one)
# strace -p <pid> -o /tmp/imap.trace
in telnet session write SELECT INBOX
stop strace (Ctrl-c usually helps :-)

look in /tmp/imap.trace which file it was trying to open...

Similary you could do same with gdb (and if you compile imap binary with
debugging symbols and you are in cyrus-imapd-2.2.12/imap/ you can do:
# gdb
file imapd
attach <pid>
break imapd.c:1446
cont

Ondrej.

On Wed, 2005-06-08 at 17:00 -0400, James Treleaven wrote:
> [root at nazgul james]# telnet zooserver imap2
> * OK zooserver Cyrus IMAP4 v2.2.3 server ready
> 1 login Booneski foobar
> 1 OK User logged in
> 2 getacl user/Booneski
> * ACL user/Booneski booneski lrswipcda
> 2 OK Completed
> 3 SELECT INBOX
> 3 NO Mailbox does not exist
> 4 select user/Booneski
> * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
> * 1 EXISTS
> * 0 RECENT
> * OK [UNSEEN 1]
> * OK [UIDVALIDITY 1118253375]
> * OK [UIDNEXT 2]
> 4 OK [READ-WRITE] Completed
> 5 logout
> * BYE LOGOUT received
> 5 OK Completed
> Connection closed by foreign host. 
-- 
Ondrej Sury <ondrej at sury.org>

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
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