Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mijLs-0000sa-BC for pgsql-www@arkaria.postgresql.org; Thu, 04 Nov 2021 20:28:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mijLr-0003uG-Ai for pgsql-www@arkaria.postgresql.org; Thu, 04 Nov 2021 20:28:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mijLr-0003u6-4T for pgsql-www@lists.postgresql.org; Thu, 04 Nov 2021 20:28:47 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mijLo-00005r-VW for pgsql-www@lists.postgresql.org; Thu, 04 Nov 2021 20:28:46 +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 1A4KSYXx350165; Thu, 4 Nov 2021 16:28:34 -0400 From: Tom Lane To: Christophe Pettus cc: Alvaro Herrera , =?utf-8?Q?C=C3=A9lestin_Matte?= , Magnus Hagander , pgsql-www@lists.postgresql.org Subject: Re: [PATCH] pgarchives: parser: handle messages in which Message-ID is missing In-reply-to: <180139C3-7E0D-4ADC-BB68-FC91D8329C94@thebuild.com> References: <202111041947.x5su2sdjdx74@alvherre.pgsql> <180139C3-7E0D-4ADC-BB68-FC91D8329C94@thebuild.com> Comments: In-reply-to Christophe Pettus message dated "Thu, 04 Nov 2021 12:56:06 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <350163.1636057714.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 04 Nov 2021 16:28:34 -0400 Message-ID: <350164.1636057714@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Christophe Pettus writes: >> On Nov 4, 2021, at 12:47, Alvaro Herrera wrot= e: >> Maybe pglister should refuse to deliver messages that don't contain >> a Message-Id. > That seems reasonable. If there's no message ID by the time pglister ge= ts it, something is pretty broken along the path from the sender to us. FWIW, I've long used a spam filtering rule that sends anything without a message ID, or with a forged local message ID, straight to /dev/null. It's quite effective, and I've not seen it eat any valid traffic. regards, tom lane