[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: warnings generated when talking to netscape server
- To: The Nnimap Mailing List <nnimap@extundo.com>
- Subject: Re: warnings generated when talking to netscape server
- From: Simon Josefsson <jas@pdc.kth.se>
- Date: 03 Jun 1999 20:47:15 +0200
- In-Reply-To: dsg@mitre.org's message of "03 Jun 1999 13:10:32 -0400"
- References: <m1baeuh1a7r.fsf@blackbird.mitre.org>
- User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3.10
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)))