Re: [imap5] Feature set? - was Re: Designing a new replacement protocol for IMAP

Dan White <dwhite@olp.net> Thu, 16 February 2012 22:41 UTC

Return-Path: <dwhite@olp.net>
X-Original-To: imap5@ietfa.amsl.com
Delivered-To: imap5@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 967F521E805A for <imap5@ietfa.amsl.com>; Thu, 16 Feb 2012 14:41:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.265
X-Spam-Level:
X-Spam-Status: No, score=-3.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02Ii9v1OGUay for <imap5@ietfa.amsl.com>; Thu, 16 Feb 2012 14:41:28 -0800 (PST)
Received: from pinky.olp.net (pinky2.olp.net [67.217.151.213]) by ietfa.amsl.com (Postfix) with ESMTP id B98FB21E803D for <imap5@ietf.org>; Thu, 16 Feb 2012 14:41:28 -0800 (PST)
Received: from quark.olp.net (vpn.olp.net [67.217.151.100]) by pinky.olp.net (Postfix) with ESMTP id A128D292DB4; Thu, 16 Feb 2012 16:41:24 -0600 (CST)
Received: by quark.olp.net (Postfix, from userid 1000) id 8D2E37B2144; Thu, 16 Feb 2012 16:41:24 -0600 (CST)
Date: Thu, 16 Feb 2012 16:41:24 -0600
From: Dan White <dwhite@olp.net>
To: Adrien de Croy <adrien@qbik.com>
Message-ID: <20120216224124.GC4578@dan.olp.net>
References: <3077.1329386263.642278@puncture> <4F3CD728.3010203@qbik.com> <3077.1329388899.383165@puncture> <4F3CE16B.3060603@qbik.com> <3077.1329391344.173214@puncture> <4F3CEB35.9080200@qbik.com> <1329394296.953.140661037317197@webmail.messagingengine.com> <4F3CFD35.10501@qbik.com> <alpine.LSU.2.00.1202161626400.30682@hermes-2.csi.cam.ac.uk> <4F3D6E57.8010301@qbik.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <4F3D6E57.8010301@qbik.com>
X-OS: Linux quark 3.0.0-2-amd64 x86_64
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, "Discussion on drastically slimming-down IMAP." <imap5@ietf.org>
Subject: Re: [imap5] Feature set? - was Re: Designing a new replacement protocol for IMAP
X-BeenThere: imap5@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussion on drastically slimming-down IMAP." <imap5.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imap5>, <mailto:imap5-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imap5>
List-Post: <mailto:imap5@ietf.org>
List-Help: <mailto:imap5-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imap5>, <mailto:imap5-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Feb 2012 22:41:29 -0000

On 02/17/12 10:00 +1300, Adrien de Croy wrote:
>
>
>On 17/02/2012 5:40 a.m., Tony Finch wrote:
>>Adrien de Croy<adrien@qbik.com>  wrote:
>>>>With XSEND, you upload the message to IMAP first, then you say:
>>>>
>>>>TAG XSEND UID
>>>how do you provide the SMTP forward path?  Is that scraped from the headers?
>>That's the right thing to do. You also need to do BCC: processing.
>>(sendmail -t does the right thing.)
>
>I think the guys that developed SMTP would disagree with you.  The 
>reason the envelope is even specified in SMTP rather than the 
>receiver simply scraping them out of the message, is that sometimes 
>you need to deliver a message somewhere other than the To: / bcc: 
>headers.
>
>>The rationale for BURL is that there is more to the SMTP envelope than
>>just the sender and recipient addresses - in particular there are the DSN
>>attributes. There's a somewhat ugly and ill-defined split between
>>information for MTA processing (in the envelope) and information for MUA
>>processing (in the headers - see MDN for example). But in fact MTAs do
>>header processing too, so there no practical advantage to ESMTP envelope
>>extensions and a lot of complexity disadvantage.
>>
>>There are a few envelope extensions: DSN, future release, message
>>tracking, CONNEG and CONPERM facsimile media conversion, and 8BITMIME +
>>BINARYMIME. If you want to eliminate BURL you need to either define a
>>mapping from headers to the extension parameters that you want to support,
>>or embed ESMTP inside IMAP.
>
>yep, I'd definitely go for embedding SMTP into IMAP... since
>
>a) SMTP is a trivially simple protocol for an IMAP server to use to 
>submit a message on behalf, whereas an IMAP client is much more 
>complicated,
>b) take a look at the security implications in the BURL RFC.

However, spam is a problem caused by a deficiency (or whatever you want to
call it) within the smtp protocol. imap does not directly or indirectly lead
to the generation of spam, unless you want to consider backscatter from a
sieve notification to be spam.

smtp (or submission) is one of those things that's actually easy to
configure in an email client. I fear that if the two get combined on the
same port that imap server IPs may start to get caught up in the cat
and mouse game spam parsers play.

-- 
Dan White