From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE,URIBL_SBL_A shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 5556D1F406 for ; Sat, 11 Nov 2023 09:04:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1699693499; bh=Go1e6+jxVsvGMWpDwtkqjZxn+PBFe/vIHc9n9s5zALE=; h=From:To:Subject:Date:From; b=HM2hr1yRHZOL9fK2tBeK9z5KgwW5wS+Tdo6QtxNf8t7M7xm4fwsK0fE18g/coKQY7 p609QeAd4jvziezgAeB8d1nGp+1v/xUU2eAvOv9zznUPUs8+QzKiAjhQ8lN3Np0kMK RS1ADCfuN9Csp+AJukqaedzN5QwSXU9VBj+OwXSM= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] support publicinboxImport.dropUniqueUnsubscribe Date: Sat, 11 Nov 2023 09:04:55 +0000 Message-Id: <20231111090459.605791-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Patch 2 is the important one in this series to drop unique tokens from public archives. I noticed our unsubscribe.milter example was adopted on one of the lists I'm subscribed to, and didn't want my independent public archive of that list to get sabotaged by somebody else unsubscribing me via HTTPS. Oddly, the rest of the unsubscription process via unsubscribe.psgi (HTTPS) or mailto: didn't seem configured by that list I'm subscribed to. IOW, they're only running unsubscribe.milter so far and generating List-Unsubscribe headers which don't work... 1, 3 and 4 fix some small things I noticed while working on 2. Eric Wong (4): learn: fix redundant ham import on dual matches mda|learn|watch: support dropUniqueUnsubscribe config mda: fix and test some usage problems doc: update README.unsubscribe Documentation/public-inbox-config.pod | 17 ++++++++ Documentation/public-inbox-learn.pod | 19 +++++++++ Documentation/public-inbox-mda.pod | 18 +++++++- Documentation/public-inbox-watch.pod | 6 ++- examples/README.unsubscribe | 9 ++-- lib/PublicInbox/Import.pm | 27 ++++++++++++ lib/PublicInbox/LeiToMail.pm | 6 +++ lib/PublicInbox/Watch.pm | 1 + script/public-inbox-learn | 7 +++- script/public-inbox-mda | 11 ++++- script/public-inbox-watch | 2 + t/lei-import.t | 48 +++++++++++++++++++++- t/mda.t | 59 +++++++++++++++++++++++++-- t/watch_maildir.t | 30 ++++++++++++-- 14 files changed, 242 insertions(+), 18 deletions(-)