Re: [dispatch] SMTP Code for Undesirable Messages

"Murray S. Kucherawy" <superuser@gmail.com> Wed, 12 January 2022 15:43 UTC

Return-Path: <superuser@gmail.com>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE4C23A121C for <dispatch@ietfa.amsl.com>; Wed, 12 Jan 2022 07:43:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 I6N0Qh7r8NsD for <dispatch@ietfa.amsl.com>; Wed, 12 Jan 2022 07:43:54 -0800 (PST)
Received: from mail-vk1-xa2f.google.com (mail-vk1-xa2f.google.com [IPv6:2607:f8b0:4864:20::a2f]) (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 94CA33A11F3 for <dispatch@ietf.org>; Wed, 12 Jan 2022 07:43:54 -0800 (PST)
Received: by mail-vk1-xa2f.google.com with SMTP id g5so1985800vkg.0 for <dispatch@ietf.org>; Wed, 12 Jan 2022 07:43:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nFegdlbPThBkT9g63E2lFN2eBi5GS4S5A366xv3XWvE=; b=LS++EOCTXD/7q36W7Q311dE/7th5tqH1hiqRySY+CK1GLv3JL8uZcZ8+Z/JNeAB+bt 4OB5YU1fmzgOaNJo9wAPZoFt6zbrRzz4YAmLiUzmSAtiyDYaq4bVwdrFnp7Dkc1HJc7P /8jXoljIVMtjnGqfObqme7ruFXxFHNKPBO050KifHIg+JP0mQAnNqnxAw1uEVBOr5F+R p+EmP/sUGMufQj6jXzMfWgbrr52TvwopuP4MMpZCFTlA5VmkItYa765DNo+ccS9YevHH HUhkFT22i2DQ8xjk0CpIz2C7ERHPljdlmNrbRPJWJFt0yGTfagV8JO6Ps6mP6lcLPdmC qbLA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nFegdlbPThBkT9g63E2lFN2eBi5GS4S5A366xv3XWvE=; b=ErA40YB6i8xpLNRyMtjrz7GEA5FSHqLQWxTwf7Jr0wB4t4QOZRFJBHJEvO4ZyAcd0N OzISIumdiewXmDUCMDKo2NzhXtMl14wguSK/yocFSDeGXcRKBJEbU1CdxQkn0JcWAZAZ HjrcT+N/xUi/LxK8mmpzTvd+1RQr8f/3B45j08SldFuySNyrxqmHjjEGFQBRTD0SggCZ G4G2iW+VkmaEL27L9f6+pRcBNDKHrDJnTNYewMUyLzURxPGM9flQUdL33oLVSuwWTUWb wtXRR41PaSDDynHOXJ/aP9lyYVrjp7po4ja5HbOMKTnR3lNkgmaeTnX+auzWwZ5SQiTX 8WJQ==
X-Gm-Message-State: AOAM533IJoxezAZM8T78ExDbc3u3nqGDtc8lc+Vp+36ksIm4xNoUr5BT HtCzlAiQ2CHkOR3v7DNKAwE4ofpjrIiZw/mjt6mK/pEPs9Q=
X-Google-Smtp-Source: ABdhPJxqzCXKwymoMbkblaGwLZppTUG5hOGtZ/eGeKRdEpAtLkt5hZSsaJrNEjah9ga2oWi3CTZ5LYc3WxY8T0wOVCA=
X-Received: by 2002:a05:6122:a16:: with SMTP id 22mr187459vkn.8.1642002232142; Wed, 12 Jan 2022 07:43:52 -0800 (PST)
MIME-Version: 1.0
References: <MN2PR11MB43514753A2DCA568E8DA6190F7789@MN2PR11MB4351.namprd11.prod.outlook.com>
In-Reply-To: <MN2PR11MB43514753A2DCA568E8DA6190F7789@MN2PR11MB4351.namprd11.prod.outlook.com>
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Wed, 12 Jan 2022 07:43:41 -0800
Message-ID: <CAL0qLwZEwQgw_iEtPrgpJEvc=eVDU4mpCHug8oLaQb5qD4ahWw@mail.gmail.com>
To: "Brotman, Alex" <Alex_Brotman=40comcast.com@dmarc.ietf.org>
Cc: "dispatch@ietf.org" <dispatch@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c4715b05d5646f1a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/60zGzUvWtayDVw6I7Wq86nRfzLw>
Subject: Re: [dispatch] SMTP Code for Undesirable Messages
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Jan 2022 15:43:59 -0000

On Fri, Dec 17, 2021 at 9:05 AM Brotman, Alex <Alex_Brotman=
40comcast.com@dmarc.ietf.org> wrote:

> I've been wondering if it may be beneficial for a mailbox provider to be
> able to signal back to the sender that the message is being accepted, but
> is undesirable based on some criteria.  The idea would be that a provider
> may evaluate some characteristics of the message, and before issuing a "250
> Ok" have already determined the message would be routed to the spam
> folder.  Something as simple as:
>
> 255 Ok - Routing to spam folder
>
> This would likely need some "Security Considerations" section about how
> informing a malicious entity may be undesirable.  I'm willing to write this
> up as a proposed draft, though I'm not entirely sure where to direct that
> draft.  Thank you for any advice you could provide.
>

Two things, one substantive and one procedural:

(1) On procedure: This might be better raised on either the SMTP mailing
list or the ART mailing list.  DISPATCH is mostly for talking about live or
proposed work items, like when there's a draft ready to bring to the table
for disposition.

(2) On substance: Why not register an enhanced status code for this instead
of a new SMTP reply code?  See
https://www.iana.org/assignments/smtp-enhanced-status-codes/smtp-enhanced-status-codes.xhtml
and the RFC it references.

-MSK