Re: [Extra] Spam Reporting?

Brandon Long <blong@fiction.net> Wed, 28 February 2018 19:29 UTC

Return-Path: <blong@fiction.net>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD12C12025C for <extra@ietfa.amsl.com>; Wed, 28 Feb 2018 11:29:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fiction.net
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 QSciawvfPA3N for <extra@ietfa.amsl.com>; Wed, 28 Feb 2018 11:29:20 -0800 (PST)
Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (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 29C001200E5 for <extra@ietf.org>; Wed, 28 Feb 2018 11:29:20 -0800 (PST)
Received: by mail-it0-x22f.google.com with SMTP id l187so4882312ith.4 for <extra@ietf.org>; Wed, 28 Feb 2018 11:29:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fiction.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GwpbbyAv0cneTgfY0LMGWaNNnjLrISfVnoeMPlppW+4=; b=ADZwAm4g4A2lpTTibhwm7o+3lzvQIin9fiT6oS8qMznwOqWmYRVWBBVlQq1LoqWOLD w48wHmGc8r+MwoEG0ejQAx5DQN2qOJCHPstffOfy1TghAXimcyd/9rE3tPLFyocGcwAA JPmpM/eI3gEHpW+shEB87BjVE7krSXPqNs5CbIHY+k6Q6N//S6OkVeVccJZD052KpQXq lEzPNH2XHHV52Q3hF7Wt08jqcUyAWqriZLVywCv9e46dNWAeOoS1+PNIKaG/+bfz16E5 NLGFBkaj190eUJy7HL1j+6JAHSYFENiPWvwKhAGVre8+A1kD4PuJykCJbBrTgBJNjo5g pEnw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GwpbbyAv0cneTgfY0LMGWaNNnjLrISfVnoeMPlppW+4=; b=PkMDejYBd6wTWc6WAuwk+/dpnk+E2LPLeKVtx7of/iohALc9RhwEpJOcTfgYUyRmU8 h4aky8SG5i9W0XtmklLxPvgRC2IXSM3XdsIzdpVKT3LcHuN8vGnzoC899erjii+yIP08 ZgpHyXt+JJeokoit0iAxGJD0/e5jNZwjwUNaxJdEQ7wMyo3PsWW+rKB9Ehvbhnhjd9yp tPd+eZW5vzmuyazodzFTs/8IFFMUZBDpmOMe7hZXJcBXq0hS0m5jWPpPi3+CMTR85qNH ZfrPP0ADv3UuWE3Ha20crMHfr0rWSSXgKnLSliF4nbKbyo4bMUxPPAyD/DpndMYAODWL BAOQ==
X-Gm-Message-State: APf1xPDlo6DGBtWl/W5TgG6asgVqIXuuEl0oCGsD6P7VkvbUr6yC+Rtf yf+oCRCmX93UmexZRTmsWk+/eN51
X-Google-Smtp-Source: AG47ELtDN3OKTl2vfN+xdKzE8QMksU6QnWuDBKUJgsCoaW7+KAozGBdYDszzqwVHoVEI3lC0fKuiMA==
X-Received: by 10.36.113.67 with SMTP id n64mr22069886itc.4.1519846159260; Wed, 28 Feb 2018 11:29:19 -0800 (PST)
Received: from mail-io0-f179.google.com (mail-io0-f179.google.com. [209.85.223.179]) by smtp.gmail.com with ESMTPSA id m203sm2047844itd.26.2018.02.28.11.29.18 for <extra@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 11:29:18 -0800 (PST)
Received: by mail-io0-f179.google.com with SMTP id 30so4467007iog.2 for <extra@ietf.org>; Wed, 28 Feb 2018 11:29:18 -0800 (PST)
X-Received: by 10.107.192.2 with SMTP id q2mr22297165iof.112.1519846157547; Wed, 28 Feb 2018 11:29:17 -0800 (PST)
MIME-Version: 1.0
References: <1519691879.2831523.1284423560.70A87A64@webmail.messagingengine.com> <60235340-1514-fca2-2e34-73683a5c247b@dovecot.fi>
In-Reply-To: <60235340-1514-fca2-2e34-73683a5c247b@dovecot.fi>
From: Brandon Long <blong@fiction.net>
Date: Wed, 28 Feb 2018 19:29:06 +0000
X-Gmail-Original-Message-ID: <CABa8R6uiyjSkcUyMOpab9rPZhG-bGAqHSpi8p_qjuBWSraMX=w@mail.gmail.com>
Message-ID: <CABa8R6uiyjSkcUyMOpab9rPZhG-bGAqHSpi8p_qjuBWSraMX=w@mail.gmail.com>
To: stephan.bosch@dovecot.fi
Cc: Bron Gondwana <brong@fastmailteam.com>, extra@ietf.org
Content-Type: multipart/alternative; boundary="001a114f74c45633f605664ac2d5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/rA6atvmhqqUM-UZpLDcdrJmtYMo>
Subject: Re: [Extra] Spam Reporting?
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Feb 2018 19:29:24 -0000

We currently have two mechanisms with some amount of usage, the $Junk
keywords (which I guess never made it to an RFC) and the \Junk folder
special-use defined in RFC 6154.

An IMAP server can certainly trigger whatever it needs off of applying the
keyword or having a message moved/copied to the junk folder, so I'm unclear
on the need for an explicit command.

Sure, bulk application of either of these should be interpreted with some
level of skepticism, I know our original implementation had a cut-off for a
max number we'd allow in a single command, and it's had to evolve over time
based on information about the client used and the reputation of the user,
at least in regards to using the spam labeling to enform the larger
anti-spam system, local changes such as personalized blocked sender lists
or personalized learning seem fine even in bulk.  Given the potential for
bad actors, these types of requirements will come up even if you have a
specific command, of course.

Even in the Gmail API, we went with just adding the spam label instead of
having an explicit command.

Brandon


On Wed, Feb 28, 2018 at 12:21 AM Stephan Bosch <stephan.bosch@dovecot.fi>
wrote:

> Hi Bron,
>
> Op 2/27/2018 om 1:37 AM schreef Bron Gondwana:
> > Digging through my very old FLAGGED emails to see if there was
> > anything I should be looking at, this sprung up:
> >
> > https://datatracker.ietf.org/doc/draft-ordogh-spam-reporting-using-imap/
> >
> > In a discussion from Alexey following on from my Fosdem report at the
> > time:
> >
> >
> https://www.mail-archive.com/search?l=cyrus-devel%40lists.andrew.cmu.edu&q=subject%3A%22FOSDEM+Report+%5C-+Saturday%22&x=0&y=0
> >
> > Is there any appetite for reviving discussion of a standard way to
> > report spam/phishing/whatever from clients such that the server knows
> > that a user has explicitly made the determination?
>
> I haven't yet fully read this draft, but this is definitely useful
> functionality to have. For Dovecot, solutions that monitor the spam
> folder have been used for years now. This automatically triggers spam
> learning activities when a mail is either moved into or moved out of the
> spam folder. Historically, this was performed by an external plugin, but
> more recently this is done using IMAPSieve. Additionally, using a sieve
> language extension, MARF reports (RFC 5965) can be sent:
>
> https://raw.githubusercontent.com/dovecot/pigeonhole/master/doc/rfc/spec-bosch-sieve-report.txt
>
>
> The Ordogh draft adds a new command instead. I am not sure what I prefer
> more. Adding a new command is problematic in that it requires client
> support, which some clients will never attain. The problem with the
> implicit reports based on folder events is that you're never quite a
> 100% sure it is what the user intended, and moving lots of messages can
> produce problems.
>
> Regards,
>
> --
> Stephan Bosch
> Senior Developer
>
>
> Phone: +49 2761 75252 00  Fax: +49 2761 75252 30
> Email: stephan.bosch@dovecot.fi
>
>
>
> -------------------------------------------------------------------------------------
> Open-Xchange AG,  Rollnerstr. 14, 90408 Nuremberg, District Court
> Nuremberg HRB 24738
> Managing Board: Rafael Laguna de la Vera, Carsten Dirks, Michael Knapstein
> Chairman of the Board: Richard Seibt
>
> Dovecot Oy, Lars Sonckin Kaari 10, 02600 Espoo, Finland
> Managing Director: Markku Kentta
> Chairman of the Board: Timo Sirainen
> Board Member: Carsten Dirks
>
>
> -------------------------------------------------------------------------------------
>
> _______________________________________________
> Extra mailing list
> Extra@ietf.org
> https://www.ietf.org/mailman/listinfo/extra
>