From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 875911F4B6 for ; Thu, 27 Jun 2019 19:45:14 +0000 (UTC) Received: by mail-qt1-x833.google.com with SMTP id j19so3767831qtr.12 for ; Thu, 27 Jun 2019 12:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=zFPH4QvyXQMXluTVvZq3eE3gETBEuLvT31AVQKsihKI=; b=LBq1+EpyXdNWMjE67k9Dg2BT1PO6S/Evh/541P3UzRa2vQKLCn+/4UMQQP4klPqntM PrDNeXNsAkoCFWY8H6tMwvhGXE2pPXmMje6jZpdFg+acaHIioiBWMZiq7p37L+WC7evW jstIpwTXjOzXktyf3h1W1KBzK5Lax+OX4yByw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=zFPH4QvyXQMXluTVvZq3eE3gETBEuLvT31AVQKsihKI=; b=t26O5fqjaWWcL5djlct1WqG6dCkER+ojgBqdLCOptWyU6GLWiBXQKTNgJnsHa0Lt6G p37BjaUevZVOId1xFsjGqonRXrUkUDWyaxeqU0F4hh2iZEksDdWl39Q2DL4ibbz40rp9 6BAW9vK1ZAOsL+o6xUuuzmAVpQiC/pH9cOutgbspew/FyPzuqNNFYb+YxEyYOMEaTYMQ 0paFSbYxepmvLu8DBPXhvWyXBDcCvVBjD6yFIaf2cvSxyKMLuGmasdIPJ7OwZELfuWT5 WwM/X1uUuYyxa54WQptduU4DBQeApcY37PeUGZFKixDRXL3HdrCq5wSYyFOJh8w1LTzz d6UA== X-Gm-Message-State: APjAAAWXU+xc2wXqJ1NeKRWkHayAs1X01NxqYE5bJlP1Z7oBoaSVzz9J BYhdkaYzorNy+Emii2osnDzs4j30TIw= X-Google-Smtp-Source: APXvYqxc1nnRvPt6chXOMF+qyfG9RkvzvfnMmZdK701FSx61xdYDnAJ9l12doI6MiKDG+IaVoswR4A== X-Received: by 2002:ac8:45d2:: with SMTP id e18mr4812964qto.258.1561664713594; Thu, 27 Jun 2019 12:45:13 -0700 (PDT) Received: from chatter.i7.local (192-0-228-88.cpe.teksavvy.com. [192.0.228.88]) by smtp.gmail.com with ESMTPSA id q3sm33320qta.74.2019.06.27.12.45.12 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 27 Jun 2019 12:45:12 -0700 (PDT) Date: Thu, 27 Jun 2019 15:45:11 -0400 From: Konstantin Ryabitsev To: Eric Wong Cc: meta@public-inbox.org Subject: Re: RFC: marking spam via refs/notes/spam to hide it Message-ID: <20190627194511.GF14570@chatter.i7.local> References: <20190627184251.GC14570@chatter.i7.local> <20190627185236.2mwuoygclytf5m7x@whir> <20190627185723.GE14570@chatter.i7.local> <20190627193332.gjzwkuiotp6fgmcf@whir> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: <20190627193332.gjzwkuiotp6fgmcf@whir> User-Agent: Mutt/1.12.0 (2019-05-25) List-Id: On Thu, Jun 27, 2019 at 07:33:32PM +0000, Eric Wong wrote: >> > Aside from the git note, public-inbox-learn already does that: >> > >> > public-inbox-learn spam > > >> > (scans everything in ~/.public-inbox/config since spam is >> > frequently cross-posted) >> >> Ah, that shows how carefully I read docs, I guess. :) Is it possible to just >> specify a message-id, so that there's no extra step to dump the spam message >> into a file? > >Not exactly with the Message-ID arg. It would be dangerous if >somebody malicious wanted to get you to remove a legit message >by sending a spam message which reuses a Message-ID of a legit >message. I'd definitely want to verify a message is what I'd >want to remove, first. This makes sense, thanks. I tried it out and it works to remove spam from the frontend, but spamc step seems to fail with a somewhat incongruous error code: spamc failed with: 18944 Any pointers where I should look to figure out which part is failing? -K