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

Bron Gondwana <brong@fastmail.fm> Thu, 16 February 2012 12:12 UTC

Return-Path: <brong@fastmail.fm>
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 62DAC21F86AF for <imap5@ietfa.amsl.com>; Thu, 16 Feb 2012 04:12:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.37
X-Spam-Level:
X-Spam-Status: No, score=-3.37 tagged_above=-999 required=5 tests=[AWL=0.229, BAYES_00=-2.599, 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 z7zR+4m4+-SI for <imap5@ietfa.amsl.com>; Thu, 16 Feb 2012 04:12:08 -0800 (PST)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by ietfa.amsl.com (Postfix) with ESMTP id 32B4621F86FD for <imap5@ietf.org>; Thu, 16 Feb 2012 04:11:44 -0800 (PST)
Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 645A02063F for <imap5@ietf.org>; Thu, 16 Feb 2012 07:11:36 -0500 (EST)
Received: from web1.nyi.mail.srv.osa ([10.202.2.211]) by compute4.internal (MEProxy); Thu, 16 Feb 2012 07:11:36 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= message-id:from:to:cc:mime-version:content-transfer-encoding :content-type:in-reply-to:references:subject:date; s=mesmtp; bh= lK+FpQAYHhs3zc1GkIJh5gnPqcU=; b=C8jRhYULgblbOlfxUtAw0XsceZvMe7nJ C3BzP/LZl0rapSoyMM82h/OGeiVeeLicb6Kyp3t1PriF6Byp1ahlueN8VtIa3Lwv S4s6v61uVRLjySFLjD4l0YJl8CGRJz6CIatF77vj4/NIrNBZs2fBkcXlOILSVMSf BRLMPlvsix8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:cc:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=lK+FpQAYHhs3zc1GkIJh5gnPqcU=; b=S7M bxWgkBxP9JuWuOV/WeZU2D2t6dhETXPxCBO8va9Sqrx3GsdL5cX95MsVlKbZqdU0 1aX7AkweIWVPgURGUIJXP27l+e/BSeUh7ibIyrmEAXy0Lqj0rt8L5HBV5NLwqcaW LOnXadj/Hbo5dVQmHTloDDuTSXXrHJq4tSrzwNqQ=
Received: by web1.nyi.mail.srv.osa (Postfix, from userid 99) id 3C79DA0009E; Thu, 16 Feb 2012 07:11:36 -0500 (EST)
Message-Id: <1329394296.953.140661037317197@webmail.messagingengine.com>
X-Sasl-Enc: sI/DFgZse3Evt3M1XHImYNlU61i14MdhZIw9VgB61+TM 1329394296
From: Bron Gondwana <brong@fastmail.fm>
To: Adrien de Croy <adrien@qbik.com>, Dave Cridland <dave@cridland.net>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
X-Mailer: MessagingEngine.com Webmail Interface
In-Reply-To: <4F3CEB35.9080200@qbik.com>
References: <B764BD8C8B6047E659EABBE2@caldav.corp.apple.com><4F397212.1030107@qbik.com><20120213210805.GB13029@launde.brong.net><alpine.LSU.2.00.1202151405550.30682@hermes-2.csi.cam.ac.uk><1329315552.1444.140661036879893@webmail.messagingengine.com><4F3BBFA4.8010107@isode.com><1329316981.8310.140661036883625@webmail.messagingengine.com><4F3BC7DA.5070803@gulbrandsen.priv.no><20120215181047.GB13906@launde.brong.net><alpine.OSX.2.00.1202151020140.38441@hsinghsing.panda.com><20120215213122.GB16253@launde.brong.net><4F3C2C1B.6030408@qbik.com> <3077.1329344733.342803@puncture><4F3CA887.9050509@gulbrandsen.priv.no><3077.1329382177.374908@puncture> <4F3CCA6C.3020004@qbik.com><3077.1329386263.642278@puncture> <4F3CD728.3010203@qbik.com><3077.1329388899.383165@puncture> <4F3CE16B.3060603@qbik.com><3077.1329391344.173214@puncture> <4F3CEB35.9080200@qbik.com>
Date: Thu, 16 Feb 2012 13:11:36 +0100
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 12:12:13 -0000

On Fri, Feb 17, 2012, at 12:40 AM, Adrien de Croy wrote:
> On 17/02/2012 12:22 a.m., Dave Cridland wrote:
> > Right, sure, understood (after s/MTA/MUA/) but what has port 25 got to 
> > do with it?
> 
> back to my point about getting everything over 1 port.  If we had that, 
> then blocking 25 wouldn't have affected me.

If you were using port 587, it wouldn't have affected you - that's been
standardised for a while.

The more important thing is - if we were going over one port, it would
have either not affected you, or TOTALLY affected you - with nothing
working.  Either of those is significantly more understandable to the
"punter" than some things working, and others not.

The same with "Send succeeds, but then append-to-Sent-folder fails" if
your IMAP connection is unavailable but your SMTP server isn't.  Or if
you're over quota.

BURL at least solves the second one, but it solves it in a half arsed
way that the little XSEND I put together last week doesn't.

With XSEND, you upload the message to IMAP first, then you say:

TAG XSEND UID

Which sends the message UNLESS it has the \XSent flag already.

And it sets the \XSent flag as soon as the message is sent.  No
waiting on network IO.  So the only gap is a failure within the
server itself.  If the client disconnects and tries again, the
flag will already be set, and it will not duplicate the message.

No partial failures.  No multiple systems depending on each other
to be up, configured correctly, routing to each other.

(Implementation in this case is "Call sendmail -bmi and pipe the
spool file to it")

> > What we need to do is identify the core problems to be solved, instead 
> > of finding solutions and trying to figure out how to use them.
> 
> * SPAM

There's a checklist for why this one won't be solved.

> * UDNs

In the case of wingate, because of the embedded SMTP server, you could
theoretically hold the client waiting until you had tried one outbound
SMTP.  Only fixes the first hop of course.

A "ocean boiling" solution to this would involve server level magic on
control messages.  You'd want forgery protection though... gets trickier
when you consider active attacks.  Mind you, MDN is already fraught with
active attacks.

Bron.
-- 
  Bron Gondwana
  brong@fastmail.fm