It sounds like you encountered a bug.
Try running imapd under gdb (under a shell logged in as the user), and
repeat the THREAD command. You'll probably see where it crashed.
Even better, try upgrading from the old version that you are running,
which was an unreleased development snapshot, to the current release
version (which is imap-2004g). If the problem vanishes, blame it on the
old version and forget about it.
The current release version is:
ftp://ftp.cac.washington.edu/mail/imap.tar.Z
On Mon, 10 Apr 2006, danson wrote:
> Hi guys,
>
> My UW IMAP server seems to be struggling to deal with the above
> command. It simply dies when trying to run it. What is strange is that
> it ONLY affects a certain very few folders.
>
> Here is the imap output:
>
> * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN]
> fs3.imapserver.or
> g IMAP4rev1 2003.338rh at Mon, 10 Apr 2006 12:50:43 +0100 (BST)
>
>
> A001 LOGIN "roger.dev@user.net" "secret"
> A001 OK [CAPABILITY IMAP4REV1 IDLE
> NAMESPACE MAILBOX-REFERRALS BINARY UNSELECT SCAN SORT THREAD=REFERENCES
> THREAD=ORDEREDSUBJECT MULTIAPPEND] User roger.dev@user.net
> authenticated
>
>
> A002 SELECT "mail/admin_test"* 1130 EXISTS
> * 0 RECENT
> * OK [UIDVALIDITY 1144667699] UID validity status
> * OK [UIDNEXT 1131] Predicted next UID
> * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
> * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted \Draft \Seen)]
> Permanent flags
> A002 OK [READ-WRITE] SELECT completed
>
>
> A003 EXPUNGEA003 OK No messages deleted, so no update needed
>
>
> A004 EXAMINE "mail/admin_test"* 1130 EXISTS
> * 0 RECENT
> * OK [UIDVALIDITY 1144667699] UID validity status
> * OK [UIDNEXT 1131] Predicted next UID
> * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
> * OK [PERMANENTFLAGS ()] Permanent flags
> A004 OK [READ-ONLY] EXAMINE completed
>
>
> A005 SELECT "mail/admin_test"* 1130 EXISTS
> * 0 RECENT
> * OK [UIDVALIDITY 1144667699] UID validity status
> * OK [UIDNEXT 1131] Predicted next UID
> * FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
> * OK [PERMANENTFLAGS (\* \Answered \Flagged \Deleted \Draft \Seen)]
> Permanent flags
> A005 OK [READ-WRITE] SELECT completed
>
>
> A006 THREAD REFERENCES ISO-8859-1 ALL
>
> Connection to host lost.
>
>
>
> It just dies after that command.
> Is there any known cause for this behaviour? Could a particular message
> itself cause the problem? I'm guessing so. I've tried moving all
> messages to another folder and the problem still happens.
>
> Many thanks for any tips!
> Daniel
>
>
-- Mark --
http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.