Re: [apps-discuss] Call for Adoption: draft-ordogh-spam-reporting-using-imap

Alessandro Vesely <vesely@tana.it> Sun, 13 May 2012 11:10 UTC

Return-Path: <vesely@tana.it>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2661C21F86A3 for <apps-discuss@ietfa.amsl.com>; Sun, 13 May 2012 04:10:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.595
X-Spam-Level:
X-Spam-Status: No, score=-4.595 tagged_above=-999 required=5 tests=[AWL=0.124, BAYES_00=-2.599, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245, RCVD_IN_DNSWL_MED=-4]
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 MQOZria5Erb0 for <apps-discuss@ietfa.amsl.com>; Sun, 13 May 2012 04:10:24 -0700 (PDT)
Received: from wmail.tana.it (www.tana.it [62.94.243.226]) by ietfa.amsl.com (Postfix) with ESMTP id 33EEC21F865B for <apps-discuss@ietf.org>; Sun, 13 May 2012 04:10:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tana.it; s=test; t=1336907423; bh=eorb/c+iBLUEOan8EFVUgSJjMfIYkXs55SsggX/DK8s=; l=2614; h=Message-ID:Date:From:MIME-Version:To:References:In-Reply-To: Content-Transfer-Encoding; b=dTEjLyEzcn2QJuZkz71vIKJndl7Tk+skmFWmO7dS37/tCMgTU8Z/DIbgB63YypDT2 VLAAwa1a4TvD2iVgIYPZQhGUt04vRTfAz+XLcwIEXyg9RCBAU29UaZVQXPqiz44/o5 i14GPNTrKHHhRs4T7A9KlbCnBWZdWHsxjznBmO1w=
Received: from [172.25.197.158] (pcale.tana [172.25.197.158]) (AUTH: CRAM-MD5 515, TLS: TLS1.0,256bits,RSA_AES_256_CBC_SHA1) by wmail.tana.it with ESMTPSA; Sun, 13 May 2012 13:10:23 +0200 id 00000000005DC039.000000004FAF969F.00003AF0
Message-ID: <4FAF969E.70509@tana.it>
Date: Sun, 13 May 2012 13:10:22 +0200
From: Alessandro Vesely <vesely@tana.it>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: apps-discuss@ietf.org
References: <9452079D1A51524AA5749AD23E00392811ECBB@exch-mbx901.corp.cloudmark.com> <20120512025441.33697.qmail@joyce.lan> <01OFDGKHZE5Y0006TF@mauve.mrochek.com> <alpine.BSF.2.00.1205120623130.56251@joyce.lan> <01OFE0BDJZ5O0006TF@mauve.mrochek.com> <4FAE840E.5070702@dcrocker.net> <alpine.BSF.2.00.1205121209130.41480@joyce.lan> <01OFE7XSMI780006TF@mauve.mrochek.com>
In-Reply-To: <01OFE7XSMI780006TF@mauve.mrochek.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: Re: [apps-discuss] Call for Adoption: draft-ordogh-spam-reporting-using-imap
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 13 May 2012 11:10:25 -0000

On Sun 13/May/2012 12:18:22 +0200 Ned Freed wrote:
> 
>> In all of the webmails I can think of, a message has a displayed 
>> spam state, either with a visible flag or implicitly because it's
>> in the spam folder. When you hit the junk/nojunk button, the
>> state changes immediately.
> 
> Exactly. And the problem with that is generating reports either 
> depends on reporting the transition or comparing the the presented
> state with an internal state.
> 
> I'm not overly fond of relying on notifications for this sort of
> thing - it forces the issue on a number of design choices that have
> serious impact on high end servers. That said, we certainly should
> allow a notification-based approach to be used, but I see nothing
> about having the server state available that prevents that from
> happening. Indeed, it can be used to provide additional 
> information, such as when a user disagrees and then changes their 
> mind. (I doubt this is useful, but it's always hard to be sure
> about this stuff.)

Just to make sure on the terms (correct me if I'm wrong please):
*notification* is the MUA telling the IMAP server about user activity,
*reporting* is the server generating an ARF message and sending it to
some heuristically determined external abuse team.  (Spam filter
training is another server-side activity the client might want to know
about.)

>> The server can certainly remember internally whether the state
>> was generated automatically or set by the user, but no webmail I
>> know displays that, so I don't see any need to build it into
>> IMAP.
> 
> Hidden server state is almost always a bad design choice,
> especially when there's essentially no cost involved in exposing
> it.

A mail server that also keeps track of feedback loops is likely going
to consume more than two bits per message.  But a server can set some
flags upon acting on messages, e.g. "$reported", exclusively for MUAs
usage.

> Additionally, you're assuming a separation of function across the
> IMAP boundary that isn't always how things are implemented.
> 
> And finally, what is or isn't *displayed* by current UIs is almost
> always a poor thing to design around. Designs need to accommodate
> the *functionality* provided by current UIs.

MUA's behavior can be driven by the server, by the user, or anything
in between, depending on configuration and server responses.

IMHO it is possible to let SREP command and response vary from very
basic to very data-intensive, almost independently on one another, so
that both MUAs and servers can do as they like better.