From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_ALL,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18266 invoked from network); 5 Jun 2020 15:59:35 -0000 Received: from lists1.math.uh.edu (129.7.128.208) by inbox.vuxu.org with ESMTPUTF8; 5 Jun 2020 15:59:35 -0000 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1jhEkO-0005Jo-B1; Fri, 05 Jun 2020 10:59:08 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jhEkK-0005H1-MG for ding@lists.math.uh.edu; Fri, 05 Jun 2020 10:59:04 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jhEkJ-005DoE-2T for ding@lists.math.uh.edu; Fri, 05 Jun 2020 10:59:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wPWXVlesWfIhe1KfftNkhJvXaOf61NW2QhPcZikxFtw=; b=Hk7nbab6YtL9Dz5/twAwIW6PLD sZC7awEHassAWC2qO/96pvbX85wWrBhUUf9rC5dI92TDp4ON8v85wcE/qQR8A33fVA5msqWidWcKD 1lKIMhlyIbMcMul9ktJAYRbceKrHympLSxLbcG/ATgWgCHaK9U1jLBb9/8RN1LDNy2+g=; Received: from ciao.gmane.io ([159.69.161.202]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhEkC-00039J-Cn for ding@gnus.org; Fri, 05 Jun 2020 17:58:58 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jhEkA-000I3c-TP for ding@gnus.org; Fri, 05 Jun 2020 17:58:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: =?utf-8?Q?Adam_Sj=C3=B8gren?= Subject: Re: Handling DKIM for nntp articles Date: Fri, 05 Jun 2020 17:58:50 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87y2p1bj2d.fsf@tullinup.koldfront.dk> References: <873679czfu.fsf@tullinup.koldfront.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:UkWWdNn1R2Ouho2B45yZ8gZYyG8= OpenPGP: id=476630590A231909B0A0961A49D0746121BDE416; url=https://asjo.koldfront.dk/gpg.asc Mail-Follow-Up-To: never X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Adam writes: > Could Gnus somehow do the DKIM signing and add the appropriate headers? Looks like it should be possible to simply run the article through opendkim before posting: asjo@virgil:~$ cat /tmp/testfile.txt | sudo -u opendkim /usr/sbin/opendkim -bs -F 1591370389 -t - opendkim: (stdin): DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=koldfront.dk; s=mail; t=1591370389; bh=hqfL1ITTQ4B1RpkOnxmjCzjxNXe3XG5MEy6afWAA/T0=; h=From:To:Subject:Date:From; b=b09B3T1YBn9khocxOKBwg7K3B6l8CVkJkpnn/CYYBhzAVY04llRIf8er7uQxPuA19 0moTf3b0scCZjIVaykukLVNvszX+PF7AaZonAgim+tejwcuAHJyQRGMCid+9J4X6w2 T8fRSZ9G2oZXkxKGQuWopUtFvbpcrpe7Nd1fXeol/AuhcMMAzpM28GKTM5LBCBcq5q YLDibcJKnQkdGUZyFljMP0hHh4gWlouUW+5vyTqps4Ty0iMAcu/gc6GDuOosAxPij8 S1B/xt97VXTkhoxFr48hvcoFZvIOq+cuEekyEbz56dqtLYb4R/EtXCsZObhFNARuky T0jbLG2O3h0yA== This is with the content of the email I am replying to here, taken from my sent-folder, in /tmp/testfile.txt - and the header output is identical to the one my MTA added. So now I just need to find the right hook to run the outgoing article through opendkim in, and Bob's my uncle. Best regards, Adam P.S. This reply sent via Gmane, so it won't have a DKIM-Signature: header. -- "All the truth in the world adds up to one big lie" Adam Sjøgren asjo@koldfront.dk