Re: [Dovecot] IMAP Fetch fails with BAD instead of NO

2007-10-02 Thread Reinier Bezuidenhout
Hi Thanks, I guess I can handle the BAD response in my application via javamail by just catching the exception. I think in dovecot it sends back the BAD, but also closes the connection ? Is that the expected behavior on a BAD fetch, to close the IMAP connection? Exchange also sends back a NO

Re: [Dovecot] IMAP Fetch fails with BAD instead of NO

2007-09-30 Thread Timo Sirainen
On Thu, 2007-09-27 at 10:18 -0400, Reinier Bezuidenhout wrote: AXXX FETCH 14 (UID) AXXX BAD Error in IMAP command FETCH: Invalid messageset This has been discussed in imap-protocol mailing list a few times, and BAD is the correct reply here. For example UW-IMAP is the reference IMAP server

[Dovecot] IMAP Fetch fails with BAD instead of NO

2007-09-27 Thread Reinier Bezuidenhout
Hi, I'm running version 1.0.3 of dovecot using IMAP and using javamail to access the mail. The application I'm using (when stress testing the system by doing simultaious creation of email and deleting emails, it sometimes get into the state where the application (via javamail) ask for the UID of