Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128352 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 2188D1A00BC for ; Thu, 31 Jul 2025 16:42:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1753980030; bh=ufa2Sp8+RJjy3nRQ6MeUnIGRGW37ftJ+Zqfl8tFGq4o=; h=Date:To:From:Cc:Subject:In-Reply-To:References:From; b=aLxgQURLOlJxCvBWdyPFiRcr3iz8eask306ltTyvMo/3NmEcem2TjKL47K1BuWTIF GC0bkZveOT5DUP9MsMf9dc3pkykzI8dLe67JysmhRD/tPaW3D+ngce79H4eThBGDPl /Ap4hOi1Qpu7S1olmcDnGbCwG43f3om7TlU+O406DgMwScvFdKGHPDP96839MOeiUP pYoIh2bNV2adXYGsT3mFflvf4RSA/yRWlTsHZY8w4R94eBk7dzu7vYCqAJ2QVRJ0Fw A4YqJWog1I3UdViN6KwK6OdA30n4xm0dQV8uO/aUQtsswkgMQrmdxWOLlcwV/okDq7 qVOPFyRiHDFuQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 94E75180209 for ; Thu, 31 Jul 2025 16:40:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail-24421.protonmail.ch (mail-24421.protonmail.ch [109.224.244.21]) (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 php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 31 Jul 2025 16:40:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rochette.cc; s=protonmail3; t=1753980128; x=1754239328; bh=ufa2Sp8+RJjy3nRQ6MeUnIGRGW37ftJ+Zqfl8tFGq4o=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=lvhAqavSAAyTOx1FMkUZch3DTXQ3eZIv85OZ/tGtKXcKzGp75owuktNdZNaMAvS+o uadKEvFZzccEqS7xgbclCdXNpNPhr0tUUG8JN0kFMHvy3nUv56UHWwZDNqamCnDYik TZ15OaBPmUtza+K6bqHLh0a6633CA8NfHtNpMibINe3p2B0fPlVVaexyM4XQD4lGf5 Ety3hQ4Ji0MfF828uLGk4bY3wm+5ED+L+ouw1vbTLzsQv5Ta3F0juNkdkG6KriljFi z08MUqq0gmYPw9KaWLqV+HxSvWCvX7uNxpRG7rhh9GhTq6LNFI4FXE4gjs7V5ghmYj hSQNpxmZjC+Aw== Date: Thu, 31 Jul 2025 16:42:05 +0000 To: Derick Rethans Cc: PHP Systems , PHP internals Subject: Re: [PHP-DEV] Headers of the PHP mailing lists Message-ID: In-Reply-To: <2c6fc138-5233-7459-736e-3c6a0d134639@php.net> References: <2c6fc138-5233-7459-736e-3c6a0d134639@php.net> Feedback-ID: 37040780:user:proton X-Pm-Message-ID: 46ccea285c42597bcd135b2ac518c5383cd171f9 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------e7024d584a0546ef694ebd704635034cf69e4e3f2ff00917c345c0a8111fa9cc"; charset=utf-8 From: mathieu@rochette.cc (Mathieu Rochette) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------e7024d584a0546ef694ebd704635034cf69e4e3f2ff00917c345c0a8111fa9cc Content-Type: multipart/mixed;boundary=---------------------c6ff911d0e468e27e7ccde8cb69f1dc6 -----------------------c6ff911d0e468e27e7ccde8cb69f1dc6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 On Thursday, July 31st, 2025 at 18:13, Derick Rethans wro= te: > Hi Mathieu, > = > Questions around this, are probably better directed at systems@php.net, > but it's here now, so I'll answer. noted. > = > On Thu, 31 Jul 2025, > = > Mathieu Rochette > = > wrote: > = > > At work we built a feature in a mail client that deals with > > newsletters subscriptions. > > = > > Subscriptions are identified by messages having a List-ID or > > List-Unsubscribe header. Then, to differentiate mails being > > newsletters or list discussions, one heuristic is to look at the > > `Precedence` header, it can be `bulk` for mass mailing (so > > newsletters) or `list` (discussions). And when working on that I > > noticed that PHP lists were wrongly sent the mails with `Precedence: b= ulk`. Is this something that could be fixed? > = > = > I can certainly change the "Precedence: bulk" header to "Precedence: > list". I would have to do that for all our 124 lists, but I am > moderately reluctant in doing this, as Google is being annoying > requiring specific things for email delivery, and I don't want to upset > them again. I would be surprised if they penalized you for this since you'll more accu= rately describe the messages. I don't know how their delivery systems work= s though, so I understand if you don't want to gamle on it =F0=9F=91=8C > = > > It's not a big deal since I've since added another heuristic that > > works woth the PHP mailing lists (classify subscription as discussion > > is it has a `List-Post` header) but wanted to let you know, it may be > > useful for other clients if / when they implement features using those > > headers. > > = > > Also, the List-ID is not properly formatted, it's supposed to be > > wrapped in angle brackets but it's not, so instead of `List-Id: intern= als.lists.php.net` it should be `List-Id: or ev= en ``List-Id: PHP Internals list to give it a hu= man friendly name. One downside of fixing it though is that it may break a= utomatic filtering rules of people matching exactly `List-Id: internals.li= sts.php.net`.`` > = > = > We can easily change the List-Id header too, as long as I don't need to > add a manual description to all 124 of them. So for now, I would suggest > to change them to "List-Id: ". Would that work? Yes that would be great, adding a description is optional and can be done = later too. if you feel like it you could do it only for the most used list= s too for example. thank you, Mathieu > = > = > cheers, > Derick > = > -- > https://derickrethans.nl | https://xdebug.org | https://dram.io > = > Author of Xdebug. Like it? Consider supporting me: https://xdebug.org/su= pport > = > mastodon: @derickr@phpc.social @xdebug@phpc.social -----------------------c6ff911d0e468e27e7ccde8cb69f1dc6 Content-Type: application/pgp-keys; filename="publickey - mathieu@rochette.cc - 0x8D30BA0E.asc"; name="publickey - mathieu@rochette.cc - 0x8D30BA0E.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - mathieu@rochette.cc - 0x8D30BA0E.asc"; name="publickey - mathieu@rochette.cc - 0x8D30BA0E.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgp4ak1FWVFLZkNoWUpLd1lCQkFI YVJ3OEJBUWRBa1BDZHlabHI5bmZBMHdJcUJXSGl6dnRQNTQ5MTFQWDgKdkowcGp4T0JabHJOS1cx aGRHaHBaWFZBY205amFHVjBkR1V1WTJNZ1BHMWhkR2hwWlhWQWNtOWphR1YwCmRHVXVZMk0rd284 RUVCWUtBQ0FGQW1FQ253b0dDd2tIQ0FNQ0JCVUlDZ0lFRmdJQkFBSVpBUUliQXdJZQpBUUFoQ1JE SWdrVGc3MTk3UnhZaEJJMHd1ZzZMaWxERVUvYVBPY2lDUk9EdlgzdEh1Z29CQUtTcFdzNmcKWVdh bUU5Wkc5WGV5V2VxQVFLUnZwaUtJdnNoQzRlckNvNVVEQVA5VGNHMW5rWERiYTlIOTRpM2Y4Q3ZY CkZhK2kxM1ljTktUZU55ZllaUFFnQmM0NEJHRUNud29TQ2lzR0FRUUJsMVVCQlFFQkIwQ0hrOFBU dWJOMQpkR0Z6WjlscFVKYW5KbjA1RDJmaUhZOGY1N3QzeGxheUlnTUJDQWZDZUFRWUZnZ0FDUVVD WVFLZkNnSWIKREFBaENSRElna1RnNzE5N1J4WWhCSTB3dWc2TGlsREVVL2FQT2NpQ1JPRHZYM3RI dGNBQS8xWlNrVFVKCkU1TzU4bUR5VTNSeFFyVjNVQVA3U3BaamN1T0pKSTRTRzE5TUFQOXlIU3Rq dDJXa3IxS0o5c0VNeXY5aQprb0xNS2VZa3Q5RXlyUFM5bDdsUkRnPT0KPTNIZE8KLS0tLS1FTkQg UEdQIFBVQkxJQyBLRVkgQkxPQ0stLS0tLQo= -----------------------c6ff911d0e468e27e7ccde8cb69f1dc6-- --------e7024d584a0546ef694ebd704635034cf69e4e3f2ff00917c345c0a8111fa9cc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wrsEARYKAG0FgmiLnM4JkMiCRODvX3tHRRQAAAAAABwAIHNhbHRAbm90YXRp b25zLm9wZW5wZ3Bqcy5vcmeBA7+Q8Hg0vUeD+gnQqfMP5SgZxzlTn1b7tAbR htpDMBYhBI0wug6LilDEU/aPOciCRODvX3tHAAD8NAEAiFfRM5TVFtk+EBs7 e7kvNcuvpYpYqyMUMhdkLKgqUBYA/2i+W+tpbQ5NDusGzvQsMRjo8TV93yut wGmvilpom2EN =AWey -----END PGP SIGNATURE----- --------e7024d584a0546ef694ebd704635034cf69e4e3f2ff00917c345c0a8111fa9cc--