From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mDxkEiC1vmL7eQAAbAwnHQ (envelope-from ) for ; Fri, 01 Jul 2022 10:49:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CKwCEiC1vmLZNAEAauVa8A (envelope-from ) for ; Fri, 01 Jul 2022 10:49:36 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9E7702032 for ; Fri, 1 Jul 2022 10:49:35 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 317AD5F7E1; Fri, 1 Jul 2022 08:40:25 +0000 (UTC) X-Greylist: delayed 530 seconds by postgrey-1.36 at yantan; Fri, 01 Jul 2022 08:40:22 UTC Received: from anarres.sindominio.net (anarres.sindominio.net [88.99.208.38]) by mail.notmuchmail.org (Postfix) with ESMTPS id 799685F7CC for ; Fri, 1 Jul 2022 08:40:22 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by lesnaus.sindominio.net with ESMTP id 5E1CB36283D for ; Fri, 1 Jul 2022 10:31:32 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net 5E1CB36283D Received: from anarres.sindominio.net ([127.0.0.1]) by localhost (lesnaus.sindominio.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jyeAqevG9xac for ; Fri, 1 Jul 2022 10:31:30 +0200 (CEST) Received: by lesnaus.sindominio.net (Postfix, from userid 108) id 6BD19362852; Fri, 1 Jul 2022 10:31:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net 6BD19362852 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lesnaus.sindominio.net with ESMTPSA id 2A15636279F; Fri, 1 Jul 2022 10:31:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 lesnaus.sindominio.net 2A15636279F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sindominio.net; s=mail; t=1656664288; bh=mEJQqWYX3dBHYvAimMP7pKFCuwv/JM+TyEqJg0TnUP0=; h=Date:From:To:Subject:In-Reply-To:References:Cc:From; b=STSavH3FE133TdNwGO1jpol8RJ7V0sy/eDNp8EYnVjCYPWwGNxirgOg2uEv/7Vz/W UhuXDIuftd+2bsx4z4Q6AvszWLbN+yEtJbdvyh8msc0S7KvlaMe8lG/1HBQdW998QL 4UepnCDaJgvnPqRve5fvbl+Rtster0821+NtDGJ28oohQoKBYp12rXORwGn2rzh6yh x6NtyEdYjkV+Ja8KBG08zWdaPzOy2t4KqycVvcYnmxDBn2TGHoXpEdRJ1Y2sq0wyfB 4TI3VggT2+w7gnZNoayPQwwvmLjN77z/P10CxfDROVt6UzdMcr+43qtIaZHPoyt6X0 K1WKsC/DABzseZOSgUwY22kJSPfQGzhpQpS0K9FWLHhiGhYi7TU3pAFgwUnRZ+JeIY e98RWpGdg/YNssiZhob7z0FZZWldoyvLFNCJCnp4zBocTbSLITHszsjPes+RfAC/uO hgZYKrwk2ekpLVlRX1M9hck6imgqkhrHFVBP7gHbb0jvZd9eixcfr11JbnXan4Zio/ xPWW4bcDk0dAAdP6OjPSUeU/78sZvCnITzglMb+/8Nr1QxgQLfMHXkQKSpYkO3tSo+ CqhvFrJNFN8bCG1Kl7f3hDpir68iyi8L7Mxr3n9CDiWEkhAkDzXcqvQx8NlE7t25AO fpTIb2jF46Tkqd3W79GIZQwc= Mime-Version: 1.0 Date: Fri, 01 Jul 2022 10:31:27 +0200 Message-Id: From: "inwit" To: "erik colson" , Subject: Re: blacklisting a contact In-Reply-To: <87k08xjm0c.fsf@code.pm> References: <87k08xjm0c.fsf@code.pm> Message-ID-Hash: VBP3SV2OEFRC2U6WUTCEDFCJBGGQODGL X-Message-ID-Hash: VBP3SV2OEFRC2U6WUTCEDFCJBGGQODGL X-MailFrom: inwit@sindominio.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656665375; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+mNTlq/dQuBxWpM2qyh0xDUvLiNpzhV93sfYtheJr+s=; b=BunJNf6TtNnOMTF4yYYp4Zqe98oltL979uiKiFerIko7fF8jjwBOuFnPxXFi1XxfLXQbta ihgZqIAwqNxbPsHCQf68iGgBESZ7Y3f/mAnxYLS3kkJb08ITHPl1oxewAf9oWuZrBch69c CzF8oR9HWCKXrJNaHwOAOzMkc2YnhU/BfQZvAPTCgIEcmSGi0MvduwC43ki0f68Nx3u3dy Ri7/dX25B+xEJDKMjcXEsnB1cueLgVlYlUDHUIX8gZ7k1QmpwOLZa+qN8T8qZZapFjTNYY u4z/FMI4LgnGgEpUnx5rUK3l2s91wvYtZjqKjDshgPwRV/Y5Vcn/WlzJCQE25g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656665375; a=rsa-sha256; cv=none; b=jDJ+RINjls76X2YaeEnih1wK70e8H5A9rCv0e9eyGEQdENgDXfV4iim2PIhxImMr1uBMfG kh0eLnq+w22auum2hVnyD8Snx+cU6e4ioIYJRmTo6P71dGKbzKoNEc97rzdO443AnpXXy5 S2Rm5dCeyZb33RqNyqNLf88f84t8aGlh/s9w+//8NSm5pR8sf0hffdpRSuUvdWrjasEO9r 1IwTiIFxsF+R5fEO5rONLMiQVKS0rAnmmcQThlQJM2vpVzfGf3xnvnRV+4NM0hmeg1l9m1 Sxp+1JNz0k1xnhpWI4n3fJKRLtkWuaAVJ03nOKcNh0OQd0S9u2XFTgUZu+zOwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=sindominio.net header.s=mail header.b=STSavH3F; dmarc=fail reason="SPF not aligned (relaxed)" header.from=sindominio.net (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 8.84 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=sindominio.net header.s=mail header.b=STSavH3F; dmarc=fail reason="SPF not aligned (relaxed)" header.from=sindominio.net (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 9E7702032 X-Spam-Score: 8.84 X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com X-TUID: mJFw+BZTY9Tu On Fri Jul 1, 2022 at 10:05 AM CEST, erik colson wrote: > Has somebody already coded something like this? Indeed: https://gist.github.com/vedang/26a94c459c46e45bc3a9ec935457c80f See the comments for some improvements over the original.