Re: REQUESTING FOR SUPPORT TO IMPLEMENT IMAP FETCH COMMAND
"Chris Newman" <[email protected]> Thu, 14 Jun 2018 06:10:13 -0700
| Newsgroups | gmane.ietf.imapext |
|---|---|
| Message-ID | <[email protected]> |
--===============5933091034916913481==
Content-Type: multipart/alternative;
boundary="=_MailMate_B92F7477-F9BB-4212-8C7C-59FE181D67DB_="
--=_MailMate_B92F7477-F9BB-4212-8C7C-59FE181D67DB_=
Content-Type: text/plain; format=flowed
You may need to read the formal ABNF for RFC 5322 and RFC 3501 more
carefully. The previous advice you received about test clients may also
be helpful. This is a list to discuss the standards and their
extensions, not to help debug your implementation.
- Chris
On 13 Jun 2018, at 21:34, sayantan pal wrote:
> Dear Chris,
>
> This is being a client server conversation:
>
> client: xx UID FETCH 2:8 (UID FLAGS RFC822.SIZE BODY.PEEK[HEADER])
> server: * 1 FETCH (UID 2 FLAGS (\SEEN) RFC822.SIZE 4794 BODY[HEADER]
> {4348}
> X-Recent: Recent
> Received: by mail-lf0-f48.google.com with SMTP id
> n15-v6so29788633lfn.10
> for <[email protected]>; Mon, 11 Jun 2018 03:47:22 -0700 (PDT)
> MIME-Version: 1.0
> From: sayantan pal <[email protected]>
> Date: Mon, 11 Jun 2018 16:17:04 +0530
> Message-ID: <CACsjV1wAbBpE2dJ_xzB6qUf2O2nsXsqqGuufLd=
> [email protected]>
> Subject: 2
> To: A <[email protected]>
> Content-Type: multipart/alternative;
> boundary="0000000000006f01d7056e5b788f"
>
>
> )
>
> This reply is somehow wrong w.r.t a server reply and I am getting
> parse
> error from Outlook. I am attaching a .msg file which my server
> received by
> the smtp service I have developed. Please check. I have not written
> all the
> headers in this mail. I am retrieving all the header using mailbee
> extension. It has a property named RawHeaders which retrieves all the
> headers.
>
> Thank You,
> Sayantan Pal
>
> On Wed, Jun 13, 2018 at 11:49 PM, Chris Newman
> <[email protected]>
> wrote:
>
>> Implementing a mail server is probably much harder than you think it
>> is.
>> Good luck!
>>
>> I recommend using an IMAP client that provides good diagnostics for
>> testing. Some programming languages, such as Python, include a
>> limited IMAP
>> client library you can use for simple testing.
>>
>> - Chris
>>
>>
>> On 13 Jun 2018, at 5:29, sayantan pal wrote:
>>
>> Dear Team,
>>>
>>> I am implementing my own mail server and thereby developing IMAP
>>> service by own following RFC3501 and 1705. I am unable to implement
>>> the
>>> IMAP fetch header and body command. I am using Outlook 2007 as email
>>> client. I have the log file for reference. I thereby requesting for
>>> your
>>> kind support to successfully fetch the header and body of a mail.
>>>
>>> Thanking You,
>>> Sayantan Pal
>>> _______________________________________________
>>> imapext mailing list
>>> [email protected]
>>>
>>
--=_MailMate_B92F7477-F9BB-4212-8C7C-59FE181D67DB_=
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"=
>
<style>
div.plaintext { white-space: normal; }
body { font-family: sans-serif; }
div.plaintext h1 { font-size: 1.4em; }
div.plaintext h2 { font-size: 1.2em; }
div.plaintext h3 { font-size: 1.1em; }
blockquote.embedded,div.plaintext blockquote { margin: 0 0 5px; padding-l=
eft: 5px; border-left: 2px solid #777777; color: #777777; }
blockquote.embedded blockquote.embedded,div.plaintext blockquote blockquo=
te { border-left-color: #999999; color: #999999; }
blockquote.embedded blockquote.embedded blockquote.embedded,div.plaintext=
blockquote blockquote blockquote { border-left-color: #BBBBBB; color: #B=
BBBBB; }
blockquote.embedded,div.plaintext blockquote a { color: #777777; }
blockquote.embedded blockquote.embedded,div.plaintext blockquote blockquo=
te a { color: #999999; }
blockquote.embedded blockquote.embedded blockquote.embedded,div.plaintext=
blockquote blockquote blockquote a { color: #BBBBBB; }
div.plaintext math[display=3D"inline"] > mrow { padding:5px; }
div.plaintext div.footnotes li p { margin: 0.2em 0; }
</style>
</head>
<body>
<div class=3D"plaintext"><p dir=3D"auto">You may need to read the formal =
ABNF for RFC 5322 and RFC 3501 more carefully. The previous advice you re=
ceived about test clients may also be helpful. This is a list to discuss =
the standards and their extensions, not to help debug your implementation=
=2E</p>
<p dir=3D"auto"> - Chris</p>
<p dir=3D"auto">On 13 Jun 2018, at 21:34, sayantan pal wrote:</p>
</div>
<blockquote class=3D"embedded"><div dir=3D"ltr">Dear Chris,<div><br></div=
><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 This is being a client server conversat=
ion:<div><br></div><div><div>client: xx UID FETCH 2:8 (UID FLAGS RFC822.S=
IZE BODY.PEEK[HEADER])</div><div>server: * 1 FETCH (UID 2 FLAGS (\SEEN) R=
FC822.SIZE 4794 BODY[HEADER] {4348}</div><div><span style=3D"white-space:=
pre"> </span>X-Recent: Recent</div><div><span style=3D"white-space:pre"> =
</span>Received: by <a href=3D"https://urldefense.proofpoint.com/v2/url?u=
=3Dhttp-3A__mail-2Dlf0-2Df48.google.com&d=3DDwMFaQ&c=3DRoP1YumCXCgaWHvlZY=
R8PZh8Bv7qIrMUB65eapI_JnE&r=3DK_BObr5Kfkr3rxt1oBPF9KFiEU3xl9LcD2OOJG3TXfI=
&m=3DuhuXSg1qInuDITS7rrfUq88ODNDXsaq675oukx2_sV0&s=3DWNPVkyELQ6Ne3bczFarr=
u7vwpMG6uoCUfeKUkwSjnkE&e=3D">mail-lf0-f48.google.com</a> with SMTP id n1=
5-v6so29788633lfn.10</div><div><span style=3D"white-space:pre"> </span>f=
or <<a href=3D"mailto:[email protected]">[email protected]</a>>; Mon,=
11 Jun 2018 03:47:22 -0700 (PDT)</div><div><span style=3D"white-space:pr=
e"> </span>MIME-Version: 1.0</div><div><span style=3D"white-space:pre"> <=
/span>From: sayantan pal <<a href=3D"mailto:[email protected]">=
[email protected]</a>></div><div><span style=3D"white-space:pre=
"> </span>Date: Mon, 11 Jun 2018 16:17:04 +0530</div><div><span style=3D"=
white-space:pre"> </span>Message-ID: <CACsjV1wAbBpE2dJ_xzB6qUf2O2nsXsq=
qGuufLd=3D<a href=3D"mailto:[email protected]">zG0L13TXeQA@mail.=
gmail.com</a>></div><div><span style=3D"white-space:pre"> </span>Subje=
ct: 2</div><div><span style=3D"white-space:pre"> </span>To: A <<a href=
=3D"mailto:[email protected]">[email protected]</a>></div><div><span sty=
le=3D"white-space:pre"> </span>Content-Type: multipart/alternative; bound=
ary=3D"0000000000006f01d7056e5b788f"</div><div><span style=3D"w=
hite-space:pre"> </span></div><div><br></div><div><br></div><div><span st=
yle=3D"white-space:pre"> </span>)</div></div><div><br></div><div>This rep=
ly is somehow=C2=A0wrong w.r.t a server reply and I am getting parse erro=
r from Outlook. I am attaching a .msg file which my server received by th=
e smtp service I have developed. Please check. I have not written all the=
headers in this mail. I am retrieving all the header using mailbee exten=
sion. It has a property named RawHeaders which retrieves all the headers.=
</div><div><br></div><div>Thank You,</div><div>Sayantan Pal=C2=A0</div></=
div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On We=
d, Jun 13, 2018 at 11:49 PM, Chris Newman <span dir=3D"ltr"><<a href=3D=
"mailto:[email protected]" target=3D"_blank">[email protected]=
m</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Implementing =
a mail server is probably much harder than you think it is. Good luck!<br=
>
<br>
I recommend using an IMAP client that provides good diagnostics for testi=
ng. Some programming languages, such as Python, include a limited IMAP cl=
ient library you can use for simple testing.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - Chris<div><div =
class=3D"h5"><br>
<br>
On 13 Jun 2018, at 5:29, sayantan pal wrote:<br>
<br>
</div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"h5">
=C2=A0Dear Team,<br>
<br>
=C2=A0 =C2=A0 I am implementing my own mail server and thereby developing=
IMAP<br>
service by own following RFC3501 and 1705. I am unable to implement the<b=
r>
IMAP fetch header and body command. I am using Outlook 2007 as email<br>
client. I have the log file for reference. I thereby requesting for your<=
br>
kind support to successfully fetch the header and body of a mail.<br>
<br>
Thanking You,<br>
Sayantan Pal<br></div></div>
______________________________<wbr>_________________<br>
imapext mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a=
><br>
</blockquote>
</blockquote></div><br></div></blockquote>
<div class=3D"plaintext"><blockquote>
</blockquote></div>
</body>
</html>
--=_MailMate_B92F7477-F9BB-4212-8C7C-59FE181D67DB_=--
--===============5933091034916913481==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
imapext mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/imapext
--===============5933091034916913481==--