Re: [ietf-smtp] [Proposal] 250-MARKDOWN

Viruthagiri Thirumavalavan <giri@dombox.org> Wed, 09 January 2019 09:10 UTC

Return-Path: <giri@dombox.org>
X-Original-To: ietf-smtp@ietfa.amsl.com
Delivered-To: ietf-smtp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 43F6F130DC4 for <ietf-smtp@ietfa.amsl.com>; Wed, 9 Jan 2019 01:10:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=dombox.org
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vHeDLHM9aSKO for <ietf-smtp@ietfa.amsl.com>; Wed, 9 Jan 2019 01:10:42 -0800 (PST)
Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7F63A1274D0 for <ietf-smtp@ietf.org>; Wed, 9 Jan 2019 01:10:42 -0800 (PST)
Received: by mail-yb1-xb2d.google.com with SMTP id j10so2708565ybj.8 for <ietf-smtp@ietf.org>; Wed, 09 Jan 2019 01:10:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dombox.org; s=default; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yKL7FubZpXO1cXg4q76NsXz6cqOafpRSMnO8i3iwJDo=; b=JgfnbsJOcmdf8DjmCtEoi0gshH0zdydDnPg7nH9ssvvmZbMU8Is3G/QG3M46pKxmRh iS1QfnczyMS6TvqgWJ4WWdVOTlqpaCoH+/7fb4kHAWyCgIugcHiUSI0Y2KOhyXuLzXZS 7R6lnnBs5ljAkZnO5/UPEAFaQR7pMz01+AJvpcEOmR6hK0EhJazMn/QYCTPKHUeqYD1Z 05yVPGlaePbqsqoAbhVHPHpCyIJfL39xYEg+Te8cuWTlw/Gn78inEKnC9ffNl8XGASCj qvHLyc0DKn1yH0WVW+pbwQt4ijNl0PKzpMLneQwDEFg/vPoQ0QBEXnqCDb4jzyDOcKXh 4FsA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yKL7FubZpXO1cXg4q76NsXz6cqOafpRSMnO8i3iwJDo=; b=bCgwjamtr2j4UPMKtuafKXdu71zrB87hgVN2JmzpzyYPV6T1WizO6Tp1kmlQ4FOtiR 9b+D8EfI9OdNbMmV1S8HjuNV2dw9WNxI/lPTfNvkl7VCHYeNY/3Rm3A1itOREWV0Ffzs f59TUmgDfsZ+zlIv/WBKxjG+usIhIfRHf/Lw8ty50fDa1rYkmBzhvKK4FbmFSkP5mWha HAxAbBNhvq0G0sotXJfMEd0v6cukzFb6LXpWVFCIV1h+c2QKo932GgSPUXhmnUX/US8I Cr+lP1zjdsvbKq3/rEfPXPK08icEuHTi2jVWUwKvcGlcbWowGpaxLATEU8a6e0VgFrOE YvaA==
X-Gm-Message-State: AJcUukdcT2c2dnfQ8PhImSyEvFT9efD4FXkvKrimZduTW+uzoPV+CluG ZQ4C6EM3knUJQ7aLcFeKFTNIzzS4rKXFjEYS+zrg0qtJ
X-Google-Smtp-Source: ALg8bN50YUerQwT84wAUfl+NZub/OkhiEK8HoqTwQ9QSeJQNpMj5bHvjWxLmHYKBQV7vJvZ5teWBEN0c1J47zd6oO9w=
X-Received: by 2002:a25:1843:: with SMTP id 64mr4850435yby.276.1547025041573; Wed, 09 Jan 2019 01:10:41 -0800 (PST)
MIME-Version: 1.0
References: <CAOEezJRwe9iSbGyBfyHNPn8=2avo6bAoFY56++HLY5+FZHhWgw@mail.gmail.com> <4647.1547019229@turing-police.cc.vt.edu> <CAOEezJSs11cRRd8xYu4TwO1Viayy8CB3-MdAicEKaJRgyn0tdg@mail.gmail.com> <20190109083807.GA41707@ams-1.poolp.org> <CAOEezJSoY23O=x-yvN4cbqwGYJBg2Xt0wd_-sajeYe5dy2swVA@mail.gmail.com> <20190109085811.GA99829@ams-1.poolp.org>
In-Reply-To: <20190109085811.GA99829@ams-1.poolp.org>
From: Viruthagiri Thirumavalavan <giri@dombox.org>
Date: Wed, 09 Jan 2019 14:39:04 +0530
Message-ID: <CAOEezJTVe-hTC+S0Ax66ciOj5YvGyUmr5bKH6Cit=6=ggsDVmg@mail.gmail.com>
To: Gilles Chehade <gilles@poolp.org>
Cc: ietf-smtp@ietf.org
Content-Type: multipart/alternative; boundary="0000000000000fde3f057f02d6a2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/7ReEnCbXAodBpTy0K5cXtMnT29Q>
Subject: Re: [ietf-smtp] [Proposal] 250-MARKDOWN
X-BeenThere: ietf-smtp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of issues related to Simple Mail Transfer Protocol \(SMTP\) \[RFC 821, RFC 2821, RFC 5321\]" <ietf-smtp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-smtp/>
List-Post: <mailto:ietf-smtp@ietf.org>
List-Help: <mailto:ietf-smtp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Jan 2019 09:10:45 -0000

I'll explain off-list.

On Wed, Jan 9, 2019 at 2:28 PM Gilles Chehade <gilles@poolp.org> wrote:

> On Wed, Jan 09, 2019 at 02:12:39PM +0530, Viruthagiri Thirumavalavan wrote:
> > Please take a look here.
> >
> https://gist.github.com/mistergiri/603766f5295802d44cc1a5752ebfa21f#steps-need-to-be-taken
> >
> > But it is a flawed proposal.
> >
>
> I read it, but the following doesn't make sense to me:
>
>         Sender should transfer the mail in "text/markdown" if the receiver
> support that format (250-MARKDOWN).
>         Else they can go for multipart/alternative with "text/plain" and
> "text/html" format as usual.
>
> What's the original content type for the mail here ?
>
> There are multiple ways to understand this depending on what is the type
> of the mail to start with. In one case, it might imply that servers need
> to convert text/* to text/markdown based on a peer extension, in another
> it implies that a text/markdown content should be converted to plain and
> html parts, etc...
>
> In cases were no transforms are required in either way, then I don't see
> how a session with or without MARKDOWN would differ.
>
> That being said, and as mentioned in another mail, SMTP is for transport
> and I think having content-related informations spill in the protocol is
> a violation of layers.
>
>
> > On Wed, Jan 9, 2019 at 2:08 PM Gilles Chehade <gilles@poolp.org> wrote:
> >
> > > On Wed, Jan 09, 2019 at 01:10:34PM +0530, Viruthagiri Thirumavalavan
> wrote:
> > > > >
> > > > > What happens if my mail server doesn't support markdown?
> > > >
> > > >
> > > > That's why I'm proposing the MARKDOWN extension. MARKDOWN command
> should
> > > be
> > > > presented in the EHLO response only if your server supports markdown.
> > > >
> > > > If your server supports markdown, the mail will be transferred as
> > > > text/markdown. Else mail will be transferred as "text/plain" and
> > > > "text/html" as usual.
> > > >
> > > > I hope I understood you correctly.
> > > >
> > >
> > > still unsure I understand how it works, sorry
> > >
> > > my understanding now is that the server translates DATA between
> markdown
> > > and other content types based on MARKDOWN extension at peer.
> > >
> > > did i understand correctly ?
> > >
> > >
> > > > On Wed, Jan 9, 2019 at 1:03 PM <valdis.kletnieks@vt.edu> wrote:
> > > >
> > > > > On Wed, 09 Jan 2019 12:29:43 +0530, Viruthagiri Thirumavalavan
> said:
> > > > >
> > > > > > I wanna bring Markdown support to SMTP.  So instead of
> transferring
> > > both
> > > > > > "text/plain" and "text/html" versions, future mails can use only
> > > > > > "text/markdown".
> > > > >
> > > > > Well, right off the top, there's the end to end problem.
> > > > >
> > > > > Say you support text/markdown, and your mail server accepts it to
> > > deliver.
> > > > > What
> > > > > happens if my mail server doesn't support markdown?  Do you send a
> > > > > text/markdown
> > > > > and hope my MUA can deal with it? If you do that, why bother with
> an
> > > SMTP
> > > > > intervention?
> > > > >
> > > > > Also, see RFC1341, and text/richtext. Ask yourself why you never
> see
> > > > > e-mails with it.
> > > > >
> > > >
> > > >
> > > > --
> > > > Best Regards,
> > > >
> > > > Viruthagiri Thirumavalavan
> > > > Dombox, Inc.
> > >
> > > > _______________________________________________
> > > > ietf-smtp mailing list
> > > > ietf-smtp@ietf.org
> > > > https://www.ietf.org/mailman/listinfo/ietf-smtp
> > >
> > >
> > > --
> > > Gilles Chehade
>  @poolpOrg
> > >
> > > https://www.poolp.org                 tip me:
> https://paypal.me/poolpOrg
> > >
> >
> >
> > --
> > Best Regards,
> >
> > Viruthagiri Thirumavalavan
> > Dombox, Inc.
>
> --
> Gilles Chehade                                                 @poolpOrg
>
> https://www.poolp.org                 tip me: https://paypal.me/poolpOrg
>


-- 
Best Regards,

Viruthagiri Thirumavalavan
Dombox, Inc.