As you can see, the connection is being established succesfully but our program ( it was running OK for almost 2 years btw ) is sending a: IMAP<SEQ #> FETCH <MSG #> BODY[1]actually that's not true. It's sending a *UID* FETCH, which is something quite different.And the server is only responding: IMAP<SEQ #> Ok Completed (0.000 sec)That's quite correct if no message with UID 2 exists ... you've given no indication that it *does* exist.Umm, well after a: IMAP<SEQ #> SELECT INBOX The server is responding: http://calder0n.com/cyrus-imap-selectinbox-response.png
So? I still see no evidence that a message with *UID* 2 exists. The response only shows that a message with *sequence number* 2 exists! That's why I said that the actual command is quite different from what you claimed it was. This command will give you a response whenever there are at least two messages:
10 FETCH 2 BODY[1]This command won't give you a response even if there are 100,000 messages in the mailbox if none of them has UID 2:
10 UID FETCH 2 BODY[1] -- Sebastian Hagedorn - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10 Regionales Rechenzentrum (RRZK) Universität zu Köln / Cologne University - Tel. +49-221-478-5587
Attachment:
pgphUV6JJJjeB.pgp
Description: PGP signature
---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html