mailing list archives

meli community discussions

⚠️ if something does not work as intended when interracting with the mailing lists,
reach out Github mirror Gitea repo @epilys:matrix.org

E-mail headers
From: Lakshmi Kiran Pai <lakshmikiran.pai@gmail.com>
To: imap-protocol@u.washington.edu
Date: Fri, 08 Jun 2018 12:34:37 -0000
Message-ID: c67efeb50603212056o64885e74m16253b33d2c88a61@mail.gmail.com permalink / raw / eml / mbox
Client <Outlook Express 6> log is as follows:

IMAP: 10:17:44 [tx] xgcz UID FETCH 3176 (BODY.PEEK[] UID)
IMAP: 10:17:44 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 10:17:44 [rx] * 2 FETCH (UID 3176 BODY[] {2}
IMAP: 10:17:44 [rx] Buffer (literal) of length 2
IMAP: 10:17:44 [rx] llMessage-ID: <
1744155.1142856823231.JavaMail.root@pythagorus>
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322516
IMAP: 10:17:44 [rx] Date: Mon, 20 Mar 2006 17:43:42 +0530 (IST)
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] From: System Administrator <admin@archimedes.co.in>
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] Reply-to: System Administrator <admin@archimedes.co.in>
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] To: laxmi@192.168.11.21
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] Subject: tesing imap
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] Mime-Version: 1.0
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] Content-Type: text/html
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] Content-Transfer-Encoding: 7bit
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] X-Priority: 3
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] X-Mailer: Chorus by zeroCode, Version 2.0
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx]
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] <P>Regards</P>
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] <P>Chengappa</P><H2>Thanks</H2>
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] <H3>Chengappa</H3>
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] )
IMAP: 10:17:44 [db] PARSE ERROR: hr=2148322522
IMAP: 10:17:44 [rx] xgcz OK UID FETCH completed.
IMAP: 10:17:44 [tx] mhmi IDLE
IMAP: 10:17:44 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
IMAP: 10:17:44 [rx] + Waiting for DONE.

i think there is syntax mistake in the response from server; near the
literal{2}. this literal is not dynamically calculated its hand coded. I
need to know how to calculate it.
And also if any one has been through this error kindly guide.

Thank you in advance
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20060322/617b7030/attachment.html>
Reply
E-mail headers
From: guenther+imap@sendmail.com
To: imap-protocol@localhost
Date: Fri, 08 Jun 2018 12:34:37 -0000
Message-ID: 200603220530.k2M5UOHY099031@lab.smi.sendmail.com permalink / raw / eml / mbox
Lakshmi Kiran Pai <lakshmikiran.pai@gmail.com> writes:
>Client <Outlook Express 6> log is as follows:
>
>IMAP: 10:17:44 [tx] xgcz UID FETCH 3176 (BODY.PEEK[] UID)
>IMAP: 10:17:44 [db] OnNotify: asOld = 5, asNew = 5, ae = 3
>IMAP: 10:17:44 [rx] * 2 FETCH (UID 3176 BODY[] {2}
>IMAP: 10:17:44 [rx] Buffer (literal) of length 2
>IMAP: 10:17:44 [rx] llMessage-ID: <1744155.1142856823231.JavaMail.root@pythagorus>
...
>i think there is syntax mistake in the response from server; near the
>literal{2}.

Yep.


>this literal is not dynamically calculated its hand coded.

That is completely broken.

You cannot write an IMAP server simply by guessing at what it needs
to send.  You must read RFC 3501 and understand it.

If you have not read the RFC, stop everything and read it now.

If you have read the RFC, please say what is unclear about the
section describing literals.


>I need to know how to calculate it.

It's all in the RFC.


Philip Guenther
Reply