Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128350 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 1DCCE1A00BC for ; Thu, 31 Jul 2025 16:12:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1753978230; bh=ym8MEKhlE+qXT0aNGtfAlmZE0p9X1TSezt/Jq+WWzTs=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=PtyD3LXMJJP1W0Ru35dT4h9K9+1odzOXRV+IWVzh5rrhDsunzYjBUDP/yqiIP58zL uzlkCG61zusaD6rGnEdbHl1Mw+5CEnbWEOfeW5K6giP4F3yVuehkAaA+UQzKh4DMcb pUWHSCFQ2OIYmbpVKGBEOHLpYqI8ajjQxaIY5NwPO/rWUeJTxrI6/QpGylS6OjHh3q jlY5UFG7sn537hA9UcFWvHBQItbDTrvSkWucVHZiRBlumn2DufyrPBdsjw6lLIkvia /sig5ls17LyWB5RkfN1GpWwl+s2+7BH7CMsOwEPR+tSlPyw3/Y8T2e8BiyBE5bZgSj H30weW73tidNA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E66171804CF for ; Thu, 31 Jul 2025 16:10: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=3.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, SPF_SOFTFAIL 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 xdebug.org (xdebug.org [82.113.146.227]) (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:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1753978330; bh=ym8MEKhlE+qXT0aNGtfAlmZE0p9X1TSezt/Jq+WWzTs=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=hQ5JgmWvjKUHhWxu/UIH5OjdCx7qq48kiiWlVTDUgYvn4UGjks067hc6wHz6fzxQX ObfyIeq2uG5GvA1oFy7G/Ye3/OP/Vgc9yMhRtXMtZQgy244a2DST4rrScmc7sOg0L2 PRdNwXYvCWx7LPNs1EHt3snAI+I0m09STXGzD0EboUyZyfEE7cQi92U665M3DvHCpC ixsT9TXxGZ/HAR9QMIVP/g++8u8V+gZCQZOzHon4emaxO9lLsoGapJtWv9ZEe9yzMo CdaN75hbrCAHcB53lQ9gC64yPF2YWPxt9vpk3hHwmfLKG9Q7966d45xQrggYCc/hBg BKygcVwt+/HQg== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 68FCF10C050; Thu, 31 Jul 2025 17:12:10 +0100 (BST) Date: Thu, 31 Jul 2025 17:12:10 +0100 (BST) To: Mathieu Rochette cc: PHP Systems , PHP internals Subject: Re: [PHP-DEV] Headers of the PHP mailing lists In-Reply-To: Message-ID: <2c6fc138-5233-7459-736e-3c6a0d134639@php.net> References: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-388017492-1753978330=:3900" From: derick@php.net (Derick Rethans) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-388017492-1753978330=:3900 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Hi Mathieu, Questions around this, are probably better directed at systems@php.net,=20 but it's here now, so I'll answer. On Thu, 31 Jul 2025, Mathieu Rochette wrote: > At work we built a feature in a mail client that deals with=20 > newsletters subscriptions.=C2=A0 >=20 > Subscriptions are identified by messages having a List-ID or=20 > List-Unsubscribe header. Then, to differentiate mails being=20 > newsletters or list discussions, one heuristic is to look at the=20 > `Precedence` header, it can be `bulk` for mass mailing (so=20 > newsletters) or `list` (discussions). And when working on that I=20 > noticed that PHP lists were wrongly sent the mails with `Precedence:=20 > bulk`. Is this something that could be fixed? I can certainly change the "Precedence: bulk" header to "Precedence:=20 list". I would have to do that for all our 124 lists, but I am=20 moderately reluctant in doing this, as Google is being annoying=20 requiring specific things for email delivery, and I don't want to upset=20 them again. > It's not a big deal since I've since added another=C2=A0heuristic=C2=A0th= at=20 > works woth the PHP mailing lists (classify subscription as discussion=20 > is it has a `List-Post` header) but wanted to let you know, it may be=20 > useful for other clients if / when they implement features using those=20 > headers. >=20 > Also, the List-ID is not properly formatted, it's supposed to be=20 > wrapped in angle brackets but it's not, so instead of `List-Id:=20 > internals.lists.php.net`=C2=A0it should be=C2=A0`List-Id:=20 > or even=C2=A0``List-Id: PHP=C2=A0Internals=20 > list=C2=A0 to give it a human friendly name. One= =20 > downside of fixing it though is that it may break automatic filtering=20 > rules of people matching exactly=C2=A0`List-Id: internals.lists.php.net`.= `` We can easily change the List-Id header too, as long as I don't need to=20 add a manual description to all 124 of them. So for now, I would suggest=20 to change them to "List-Id: ". Would that work? cheers, Derick --=20 https://derickrethans.nl | https://xdebug.org | https://dram.io Author of Xdebug. Like it? Consider supporting me: https://xdebug.org/suppo= rt mastodon: @derickr@phpc.social @xdebug@phpc.social --8323329-388017492-1753978330=:3900--