MBOX-Line: From sebastien.spas at gmail.com  Thu Jul 19 05:22:45 2007
To: imap-protocol@u.washington.edu
From: Sebastien Spas <sebastien.spas@gmail.com>
Date: Fri Jun  8 12:34:40 2018
Subject: [Imap-protocol] IMAP Server issue with Outlook 2003
Message-ID: <d97e84ce0707190522n70e76dben85e959882c626928@mail.gmail.com>

Hi,

I'm implementing an IMAP server in Java (actually reading lotus notes
nsf archives files and making their content available through an IMAP
server), and am facing an issue when using (e.g. debugging) it with
Outlook 2003.

I simply can't download any message :) everything behave as expected,
no error message, but outlook simply can't display the message.

Most probably, my server is not fully following the IMAP protocol, I
read the RFC3501 couple of times but couldn't find anything wrong.

Any help is more than welcome, below are the server and client log files.



server log :

* OK Welcome to a Lotus Notes IMAP4 Proxy Server.
xy19 CAPABILITY
* CAPABILITY CHILDREN IMAP4 IMAP4VER1 AUTH=LOGIN
xy19 OK CAPABILITY completed
9clf LOGIN "login" "password"
9clf OK User logged in
a5va SELECT "TestFolder"
* 1 EXISTS
* 1 RECENT
* OK [UIDVALIDITY 1] UIDs valid
* FLAGS (\Seen)
* OK [PERMANENTFLAGS (\*)] Limited
a5va OK [READ-ONLY] SELECT complete
reao UID FETCH 2:* (UID FLAGS RFC822.SIZE RFC822.HEADER INTERNALDATE)
reao OK FETCH complete
4az1 UID FETCH 1:1 (UID FLAGS)
* 1 FETCH (UID 1 FLAGS (\Seen))
4az1 OK FETCH complete
0d3u UID FETCH 1 (UID FLAGS RFC822.PEEK INTERNALDATE)
* 1 FETCH (UID 1 FLAGS (\Seen) INTERNALDATE "Mon, 4 Jun 2007 02:02:24
+1000" RFC822.PEEK {5027}

X-LotusNotesDocumentUID: 627F87F9F3D90BA2482574328904328
Date: Mon, 4 Jun 2007 02:02:24 +1000
Received: Mon, 4 Jun 2007 02:02:24 +1000
From: lucky.luke@western.com
To: "Bid Daddy" <tagada.tsoinstoin@tructruc.com>, "Homer Simpson"
<georgew@myunitedspace.ik>
Subject: RE: Hello !!!
MIME-Version: 1.0
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C7A609.51CDB394"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C7A609.51CDB394
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset="us-ascii"

Dear,
[...]

------_=_NextPart_001_01C7A609.51CDB394--
)
0d3u OK FETCH complete





client log :


Microsoft Internet Messaging API 6.00.2900.3028 (xpsp_sp2_gdr.061107-0012)
IMAP Log started at 07/19/2007 22:08:22
IMAP: 22:08:22 [db] Connecting to 'localhost' on port 143.
IMAP: 22:08:22 [db] OnNotify: asOld = 0, asNew = 4, ae = 0
IMAP: 22:08:22 [db] OnNotify: asOld = 4, asNew = 5, ae = 2
IMAP: 22:08:22 [db] OnNotify: asOld = 5, asNew = 5, ae = 4
IMAP: 22:08:22 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:22 [rx] * OK Welcome to a Lotus Notes IMAP4 Proxy Server
IMAP: 22:08:22 [tx] xy19 CAPABILITY
IMAP: 22:08:22 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:22 [rx] * CAPABILITY CHILDREN IMAP4 IMAP4VER1 AUTH=LOGIN
IMAP: 22:08:22 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:22 [rx] xy19 OK CAPABILITY completed
IMAP: 22:08:22 [tx] LOGIN command sent
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] 9clf OK User logged in
IMAP: 22:08:23 [tx] a5va SELECT "TestFolder"
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] * 1 EXISTS
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] * 1 RECENT
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] * OK [UIDVALIDITY 1] UIDs valid
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] * FLAGS (\Seen)
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] * OK [PERMANENTFLAGS (\*)] Limited
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] a5va OK [READ-ONLY] SELECT complete
IMAP: 22:08:23 [tx] reao UID FETCH 2:* (UID FLAGS RFC822.SIZE
RFC822.HEADER INTERNALDATE)
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] reao OK FETCH complete
IMAP: 22:08:23 [tx] 4az1 UID FETCH 1:1 (UID FLAGS)
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] * 1 FETCH (UID 1 FLAGS (\Seen))
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] 4az1 OK FETCH complete
IMAP: 22:08:23 [tx] 5ejz UID FETCH 1 (UID FLAGS RFC822.PEEK INTERNALDATE)
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] * 1 FETCH (UID 1 FLAGS (\Seen) INTERNALDATE "Mon,
4 Jun 2007 02:02:24 +1000" RFC822.PEEK {5027}
IMAP: 22:08:23 [rx] Buffer (literal) of length 5027
IMAP: 22:08:23 [rx] )
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] 5ejz OK FETCH complete
IMAP: 22:08:23 [tx] zi30 UID FETCH 1 (UID FLAGS RFC822.PEEK INTERNALDATE)
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] * 1 FETCH (UID 1 FLAGS (\Seen) INTERNALDATE "Mon,
4 Jun 2007 02:02:24 +1000" RFC822.PEEK {5027}
IMAP: 22:08:23 [rx] Buffer (literal) of length 5027
IMAP: 22:08:23 [rx] )
IMAP: 22:08:23 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:23 [rx] zi30 OK FETCH complete
IMAP: 22:08:23 [tx] kelh UID FETCH 1 (UID FLAGS RFC822.PEEK INTERNALDATE)
IMAP: 22:08:24 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:24 [rx] * 1 FETCH (UID 1 FLAGS (\Seen) INTERNALDATE "Mon,
4 Jun 2007 02:02:24 +1000" RFC822.PEEK {5027}
IMAP: 22:08:24 [rx] Buffer (literal) of length 5027
IMAP: 22:08:24 [rx] )
IMAP: 22:08:24 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:24 [rx] kelh OK FETCH complete
IMAP: 22:08:24 [tx] 0d3u UID FETCH 1 (UID FLAGS RFC822.PEEK INTERNALDATE)
IMAP: 22:08:24 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:24 [rx] * 1 FETCH (UID 1 FLAGS (\Seen) INTERNALDATE "Mon,
4 Jun 2007 02:02:24 +1000" RFC822.PEEK {5027}
IMAP: 22:08:24 [rx] Buffer (literal) of length 5027
IMAP: 22:08:24 [rx] )
IMAP: 22:08:24 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 22:08:24 [rx] 0d3u OK FETCH complete
IMAP: 22:08:50 [db] err: WSAGETSELECTEVENT = 0x20, WSAGETSELECTERROR = 10053
IMAP: 22:08:50 [db] Connection to 'localhost' closed.
IMAP: 22:08:50 [db] OnNotify: asOld = 5, asNew = 0, ae = 5


many thanks.

