From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id D08A06DE1F49 for ; Mon, 6 Mar 2017 15:36:05 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -1.111 X-Spam-Level: X-Spam-Status: No, score=-1.111 tagged_above=-999 required=5 tests=[AWL=0.226, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_SOFTFAIL=0.972, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QLfqzcFxSHYF for ; Mon, 6 Mar 2017 15:36:04 -0800 (PST) X-Greylist: delayed 392 seconds by postgrey-1.35 at arlo; Mon, 06 Mar 2017 15:36:04 PST Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by arlo.cworth.org (Postfix) with ESMTPS id 3E38B6DE1F46 for ; Mon, 6 Mar 2017 15:36:04 -0800 (PST) Received: from smtp02.caltech.edu (localhost [127.0.0.1]) by smtp02.caltech.edu (Postfix) with ESMTP id 548766C212D for ; Mon, 6 Mar 2017 15:29:31 -0800 (PST) X-Spam-Scanned: at Caltech-IMSS on smtp02.caltech.edu by amavisd-new Received: from finestructure.net (gwave-71.ligo.caltech.edu [131.215.114.71]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jrollins) by smtp-server.its.caltech.edu (Postfix) with ESMTPSA id E9A656C1C4A for ; Mon, 6 Mar 2017 15:29:30 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id DCC986023E; Mon, 6 Mar 2017 15:29:30 -0800 (PST) From: Jameson Graef Rollins To: notmuch@notmuchmail.org Subject: whitelisting User-Agent: Notmuch/0.23.5 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-pc-linux-gnu) Date: Mon, 06 Mar 2017 15:29:21 -0800 Message-ID: <87innmvvam.fsf@ligo.caltech.edu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 23:36:05 -0000 --=-=-= Content-Type: text/plain Hi, folks. In my on-going war with spam [0], the new battle ground is false positives: I'm losing too much ham to mis-classification. For my first line of attack, I would like automatically whitelist every address to which I have ever sent mail. I realize this is flawed (spammers frequently pose as me) but it's my best hope at the moment for recovering false positives (which is more important than a couple of additional false negatives). It's fairly easy to find all such addresses, e.g.: notmuch address --output=recipients from:jrollins... But I'm having a hard time coming up with an efficient way to tag mail coming from any of these address (which total ~4k). The only command line way to do it that I've come up with is: