IMAP4 server : response to FETCH

Anita <anitakp@ruksun.com> Wed, 27 August 1997 12:01 UTC

Received: from cnri by ietf.org id aa04549; 27 Aug 97 8:01 EDT
Received: from lists2.u.washington.edu (root@lists2.u.washington.edu [140.142.56.1]) by cnri.reston.va.us (8.8.5/8.7.3) with ESMTPid IAA09454 for <ietf-archive@CNRI.Reston.VA.US>; Wed, 27 Aug 1997 08:04:40 -0400 (EDT)
Received: from host (lists.u.washington.edu [140.142.56.13]) by lists2.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with SMTP id EAA28330; Wed, 27 Aug 1997 04:55:01 -0700
Received: from mx5.u.washington.edu (mx5.u.washington.edu [140.142.32.6]) by lists.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with ESMTP id EAA05320 for <imap@lists.u.washington.edu>; Wed, 27 Aug 1997 04:54:36 -0700
Received: from ruksun.com (root@[202.54.40.130]) by mx5.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.04) with ESMTP id EAA13009 for <imap@u.washington.edu>; Wed, 27 Aug 1997 04:54:32 -0700
Received: from [204.94.124.37] (akp.corus.com [204.94.124.37]) by ruksun.com (8.8.4/8.8.4) with SMTP id RAA16802; Wed, 27 Aug 1997 17:24:16 +0530
Message-Id: <199708271154.RAA16802@ruksun.com>
Date: Wed, 27 Aug 1997 16:55:17 -0500
Sender: IMAP-owner@u.washington.edu
Precedence: bulk
From: Anita <anitakp@ruksun.com>
To: Mark Crispin <MRC@cac.washington.edu>, University of Washington ListProcessor <imap@u.washington.edu>
Subject: IMAP4 server : response to FETCH
X-Listprocessor-Version: 8.1 beta -- ListProcessor(tm) by CREN

-- [ From: Anita * EMC.Ver #b.2.5.06 ] --

Hello,

Does RFC 2060 recommend any standard for IAMP4 servers, when the server
responds to a FETCH command? 
Here is response to Fetch command on two test servers. And the two servers
return values in varying order. Cyrus returns UID immediately after flags,
Altavista mail server returns UID as the last value in the response string.
 
These differences in server implementation make the parsing task quite
tedious.
Any suggestions? Anyone?

sample responses are here :-


#1 cyrus.andrew.cmu.edu (Cyrus IMAP4 v1.5.3 alpha server)
-----------------------
a FETCH 1 (FLAGS BODYSTRUCTURE UID)

* 1 FETCH (FLAGS (\Seen) UID 1 BODYSTRUCTURE ("TEXT" "PLAIN" ("CHARSET" "ISO
-885 9-2") NIL NIL "8BIT" 214 6 NIL NIL NIL))
 a OK Completed

#2 Altavista Mail server(evaluation copy) 
-----------------------------------------------------------
a FETCH 1 (FLAGS BODYSTRUCTURE UID)

* 1 FETCH (FLAGS (\Seen) BODYSTRUCTURE (("TEXT" "PLAIN" ("charset" "US-
ASCII") N IL NIL "7BIT" 240 9 NIL) "MIXED" NIL) UID 148)
 a OK


with regards,


Anita Kulkarni-Puranik
Project Manager : ICE
Ruksun Software Technologies Ltd
Pune, INDIA 411 001
e-mail : anitakp@ruksun.com
web : www.ruksun.com