[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warnings generated when talking to netscape server



David S. Goldberg <dsg@mitre.org> writes:

> * OK Netscape IMAP4rev1 Service 3.61 on mailsrv1.mitre.org at Thu, 3
> Jun 1999 13:00:57 -0400 (EDT)

Ok.

> 12 FETCH 1,* UID
> 12 BAD Bogus sequence in FETCH

I can't see anything wrong with that. I'll pester the IMAP mailing
list again and see if someone can explain why the server behave like
that...

My guess is that the server want a parenthesized list of data items

12 FETCH 1,* (UID)

but thats not required. If you want to verify my theory, apply this
and see if the error disappears.

Thanks for the report.

diff -w -u -r1.179 nnimap.el
--- nnimap.el	1999/06/03 13:39:13	1.179
+++ nnimap.el	1999/06/03 18:47:54
@@ -311,7 +311,7 @@
   (with-current-buffer nnimap-server-buffer
     (when (imap-mailbox-select group nil examine)
       (let (minuid maxuid)
-	(imap-fetch "1,*" "UID" nil 'nouidfetch)
+	(imap-fetch "1,*" "(UID)" nil 'nouidfetch)
 	(imap-message-map (lambda (uid Uid)
 			    (setq minuid (if minuid (min minuid uid) uid)
 				  maxuid (if maxuid (max maxuid uid) uid)))