Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tltGU-002cBN-NJ for pgsql-bugs@arkaria.postgresql.org; Sat, 22 Feb 2025 17:26:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tltGT-00ELIu-SZ for pgsql-bugs@arkaria.postgresql.org; Sat, 22 Feb 2025 17:26:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tltGT-00ELIm-KV for pgsql-bugs@lists.postgresql.org; Sat, 22 Feb 2025 17:26:09 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tltGN-000BVh-37 for pgsql-bugs@lists.postgresql.org; Sat, 22 Feb 2025 17:26:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 51MHPv5u082012; Sat, 22 Feb 2025 12:25:57 -0500 From: Tom Lane To: Stefan Kaltenbrunner cc: Matthias Apitz , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18822: mailing lists reject mails due to DKIM-signature In-reply-to: References: <18822-25d115fe42e642c2@postgresql.org> <7d1cf55f-4228-49d8-8066-cf96deab8ad3@kaltenbrunner.cc> Comments: In-reply-to Stefan Kaltenbrunner message dated "Sat, 22 Feb 2025 18:14:17 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <82010.1740245157.1@sss.pgh.pa.us> Date: Sat, 22 Feb 2025 12:25:57 -0500 Message-ID: <82011.1740245157@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Stefan Kaltenbrunner writes: > On 22.02.25 17:56, Matthias Apitz wrote: >> Have you read what the RFC 6576 specifies about exactly this case? > we are a forwarder that (in the case of a List-* header) NEEDS to modify > the message so we cannot forward it without breaking. Yeah. Regardless of what may be written in the RFC, there are only these possibilities when the mailing list forwarder receives a message like this: 1. Add the PG list headers, don't touch the DKIM header, forward. Most modern recipients will reject the result as spam because it fails DKIM checks. 2. Don't add the PG list headers, don't touch the DKIM header, forward. Many list recipients will discard or at least misclassify the result for lack of PG list headers. 3. Add the PG list headers, discard the DKIM header, forward. This may well end up marked as spam too, and it's certainly not complying with the intent of DKIM. 4. Reject the message. To the extent that including List-* in a DKIM signature has any real-world use, it is precisely to disavow the message if it's forwarded by a mailing list. The short answer here is that your ISP are fools, or else are intentionally preventing their users from participating in mailing lists. regards, tom lane