Re: [apps-discuss] Comments on draft-ietf-appsawg-greylisting-03

Dave CROCKER <dhc@dcrocker.net> Thu, 16 February 2012 14:13 UTC

Return-Path: <dhc@dcrocker.net>
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 361CB21F86C1 for <apps-discuss@ietfa.amsl.com>; Thu, 16 Feb 2012 06:13:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.597
X-Spam-Level:
X-Spam-Status: No, score=-6.597 tagged_above=-999 required=5 tests=[AWL=0.002, BAYES_00=-2.599, 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 G3q+BUiTvSrd for <apps-discuss@ietfa.amsl.com>; Thu, 16 Feb 2012 06:13:02 -0800 (PST)
Received: from sbh17.songbird.com (sbh17.songbird.com [72.52.113.17]) by ietfa.amsl.com (Postfix) with ESMTP id 992EA21F85DD for <apps-discuss@ietf.org>; Thu, 16 Feb 2012 06:13:02 -0800 (PST)
Received: from [192.168.1.11] (adsl-67-127-58-62.dsl.pltn13.pacbell.net [67.127.58.62]) (authenticated bits=0) by sbh17.songbird.com (8.13.8/8.13.8) with ESMTP id q1GECtDE003679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Feb 2012 06:13:01 -0800
Message-ID: <4F3D0EE5.9060008@dcrocker.net>
Date: Thu, 16 Feb 2012 06:12:53 -0800
From: Dave CROCKER <dhc@dcrocker.net>
Organization: Brandenburg InternetWorking
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: SM <sm@resistor.net>
References: <6.2.5.6.2.20120215194417.098a0438@elandnews.com>
In-Reply-To: <6.2.5.6.2.20120215194417.098a0438@elandnews.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (sbh17.songbird.com [72.52.113.17]); Thu, 16 Feb 2012 06:13:01 -0800 (PST)
Cc: apps-discuss@ietf.org
Subject: Re: [apps-discuss] Comments on draft-ietf-appsawg-greylisting-03
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: dcrocker@bbiw.net
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: Thu, 16 Feb 2012 14:13:07 -0000

On 2/15/2012 9:30 PM, SM wrote:
> In Section 1:
>
> 'Preferred techniques for handling email abuse explicitly identify
> good actors and bad actors, giving each significantly differential
> service. In some cases an actor does not have a known reputation;
> this can justify providing degraded service, until there is a basis
> for provider better service. This latter approach known as
> "greylisting".'
>
> The last sentence seems incomplete.

should be 'is known as'.


  The above is one way to look at greylisting.
> Another way would be to describe the SMTP angle which is to relying on SMTP
> retries to "reject" mail delivery on the first try if the SMTP client is not
> known to the SMTP server. That is mentioned in Section 1.1. I suggest having the
> Background Section first.

rejection is the goal that is most discussed, but note that this is also a way 
to slow down incoming mail selectively.


> 'Greylisting exploits this by rejecting mail from unfamiliar
> sources with a "soft fail" (4xx) [SMTP] error code'
>
> "soft fail" is an euphemism of Section 4.2.1 of RFC 5321. :-) maemuki ni kento
> sasete itadakimasu.

Since the class of error codes is officially "Transient Negative Completion" I'm 
inclined to suggest having the text say "transient (soft) fail".


> This is actually one of the first and well-developed application of greylisting
> (see http://projects.puremagic.com/greylisting/whitepaper.html ). I recommend
> adding a reference to the paper as the author proposed the technique.

Since this is non-normative material, it's generally good to be especially 
inclusive.  Including both your and Tony's citation nicely establishes 
relatively long history for the mechanism.


> Section 2.l is titled "Connection-level greylisting". This technique is used by
> a well-known provider. It makes debugging difficult as 421 is a forced shutdown
> when the SMTP service is unavailable.
>
> Section 2.4 mentions "the return email address" for the tuple. RFC 5321 uses the
> term "reverse-path". BTW, instead of "other recipients", you could use
> "recipients".

hmm.  the email architecture document uses the term return address and that term 
matches the actual semantics of the address better than the RFC821 label that 
RFC5321 uses.  To add explicit linkage, I'll suggest "the return email address 
(rfc5321.MailFrom)"


> In Section 5:
>
> "To accommodate those senders that have clusters of outgoing mail
> servers, greylisting servers MAY track CIDR blocks of a size of
> its own choosing, such as /24, rather than the full IP address."
>
> As a note, there are some odd cases where mail from the cluster may come from
> outside a /24 (IPv4). I suggest mentioning that it's the full IPv4 address.

Although it is unlikely that such topologically diverse 'clusters' will 
demonstrate the kind of hand-off for sending of mail, you are right that it is 
possible. So the text should just add "This heuristic will not work for clusters 
having machines on different networks."


> " There is no specific recommendation as to the specific choice of 4yz
> code to be returned as a result of a greylisting delay."
>
> I prefer a recommendation about the choice of code as this is a policy reason
> (see Section 4.2.2 and 4.3.2 of RFC 5321).

DO you have a preference for which value should be recommended?

d/
-- 

   Dave Crocker
   Brandenburg InternetWorking
   bbiw.net