List Info

Thread: IMAP Server issue with Outlook 2003




IMAP Server issue with Outlook 2003
user name
2007-07-19 07:22:45
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 

X-LotusNotesDocumentUID: 627F87F9F3D90BA2482574328904328
Date: Mon, 4 Jun 2007 02:02:24 +1000
Received: Mon, 4 Jun 2007 02:02:24 +1000
From: lucky.lukewestern.com
To: "Bid Daddy" <tagada.tsoinstointructruc.com>, "Homer Simpson"
<georgewmyunitedspace.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 
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 
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 
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 
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.
_______________________________________________
Imap-protocol mailing list
Imap-protocolu.washington.edu
https://mailman1.u.washington.edu/mailman/listin
fo/imap-protocol

Re: IMAP Server issue with Outlook 2003
country flaguser name
United States
2007-07-19 07:32:06
> 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.

Among the issues here are that "FETCH 2" must
match the last message in the mailbox (though it appears
that Outlook is working around this) and that the format on
your INTERNALDATE is incorrect.
_______________________________________________
Imap-protocol mailing list
Imap-protocolu.washington.edu
https://mailman1.u.washington.edu/mailman/listin
fo/imap-protocol

Re: IMAP Server issue with Outlook 2003
country flaguser name
United States
2007-07-19 08:09:02
> 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.
> 
> Most probably, my server is not fully following the
IMAP protocol, I
> read the RFC3501 couple of times but couldn't find
anything wrong.
> 
> 0d3u UID FETCH 1 (UID FLAGS RFC822.PEEK INTERNALDATE)

In which version of the protocol was "RFC822.PEEK"
a valid FETCH fetch_att?

(PS -- returning "RFC822" instead of
"RFC822.PEEK" in your FETCH response may solve the
problem.)
_______________________________________________
Imap-protocol mailing list
Imap-protocolu.washington.edu
https://mailman1.u.washington.edu/mailman/listin
fo/imap-protocol

Re: IMAP Server issue with Outlook 2003
user name
2007-07-19 09:18:32
At 2007-07-19 06:09:02 -0700, dkarpzimbra.com wrote:
>
> In which version of the protocol was
"RFC822.PEEK" a valid FETCH
> fetch_att?

It was in 1730 (i.e. IMAP4), and was obsoleted in 2060
(IMAP4rev1). I
suspect Outlook is trying to use it is because of the
capability list
(quoting from the original message):

> * CAPABILITY CHILDREN IMAP4 IMAP4VER1 AUTH=LOGIN
                              ^^^^^^^^^
(i.e. "VER" instead of "rev")

-- ams
_______________________________________________
Imap-protocol mailing list
Imap-protocolu.washington.edu
https://mailman1.u.washington.edu/mailman/listin
fo/imap-protocol

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )