Hi again folks:

I manually logged into the courier-imap server and attempted the same search mozilla was performing by hand. Here is a transcript of the session:

[root@server ~]# telnet localhost imap
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc. See COPYING for distribution information.
a001 login account password
a001 OK LOGIN Ok.
a002 select "INBOX.some.folder"
* FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited
* 437 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1026918550] Ok
a002 OK [READ-WRITE] Ok
a003 search body "dxf"
* SEARCH 227 228 230 232 241 242 251 256
a003 OK SEARCH done.
a004 select "INBOX.some.otherfolder"
* FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited
* 446 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1026916540] Ok
a004 OK [READ-WRITE] Ok
a005 search body "dxf"
* BYE [ALERT] Fatal error: Invalid argument
Connection closed by foreign host.
[root@server ~]#
If I do the search the same search in any folder but "INBOX.some.otherfolder", the search succeeds. In that particular folder tho, the search fails spectacularly as you can see. If anyone has any ideas on how to determine if I've got a message in a bad format (there are unfortunately several hunderd in that folder), or offer an explanation for the error message and abrupt shutdown, I'd appreciate it.

At 04:25 PM 17/10/2002 -0400, Scott Peron wrote:
All seemed good and fast until one of our support staff ran into a small snag with a particular mail folder. When he uses Mozilla 1.1 to search for a particular string in the body of the messages in a particular folder, he immediately gets an error: "Server <something.blah.com> has disconnected. The server may have gone down or there may be a problem". It would seem the imapd process working on the search bombs when executing the search.

My hunch is, is that one message in that folder is perhaps in an incorrect format after the conversion process, and imapd is crashing on parsing it (I could be wrong of course). However, I've not been able to figure out how to confirm what is going wrong, nor what individual message in the folder, if any, is the source of the problem. Anyone out there got any ideas on how to solve this little mystery (in terms of ways of getting debug info and/or informative error messages, or outright solution to the problem)?
Thanks,

Scott

--------------------------------------------------------------------------
Scott Peron, Webmaster, Infolytica Corp.              [EMAIL PROTECTED]
tel: (514)849 8752 x269    fax: (514)849-4239    http://www.infolytica.com
Place du Parc, 300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to