Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122465 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 qa.php.net (Postfix) with ESMTPS id D14F91ACEBF for ; Thu, 22 Feb 2024 16:46:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1708620371; bh=5yK2kJC3k5vGISs7WTm0GjqQ3CxePSX/g0ObALMSu/U=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=MFgJQEJYG07y8UsQ4cVBU4EzO3BGRoh7Z+YiyUhu/VcJjIzWQiFN/95k79uNzP+Eq bARj/Kvs1ISAGLviOlu04Xubsw7h1MtQesaUxEuagf+68I83mBJ86cQx5CsqtHnvQQ /LUC2lwjb27gMsHIu0+67/JFfZFMZl4f28kTFExoFTno5nzW6ThfLntsw/VeIOrHNx 9ifIxsBJvCuTcNP18P/CQ2Y4vPksUdjYmM+tOdvHjYg98X/SjAy+xmhGZPRAcgb+vq NUgOGUoNaHxSZrMK20E8zAW03OUucfqOHGlRbQOnEtc4SHCWMgaGsmNypdphTfzBdy rXBPOq/tVY5mg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 34271180388 for ; Thu, 22 Feb 2024 16:46:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: *** X-Spam-Status: No, score=3.8 required=5.0 tests=BAYES_50,DMARC_MISSING, SPF_HELO_PASS,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) by php-smtp4.php.net (Postfix) with ESMTP for ; Thu, 22 Feb 2024 08:46:10 -0800 (PST) Received: by xdebug.org (Postfix, from userid 1000) id 5717B10C540; Thu, 22 Feb 2024 16:46:04 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by xdebug.org (Postfix) with ESMTP id 52A2210C53F; Thu, 22 Feb 2024 16:46:04 +0000 (GMT) Date: Thu, 22 Feb 2024 16:46:04 +0000 (GMT) To: Alain D D Williams cc: internals@lists.php.net Subject: Re: [PHP-DEV] What's up with emails? In-Reply-To: Message-ID: <2486f691-ab5b-fe67-4d27-fbc850c1cf99@php.net> References: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323328-1627970163-1708620364=:2175910" 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. --8323328-1627970163-1708620364=:2175910 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Thu, 22 Feb 2024, Alain D D Williams wrote: > On Thu, Feb 22, 2024 at 09:05:22AM -0500, Derick Rethans wrote: > >> Gmail is rejecting emails after we moved the servers without telling us why, in enough detail to do anything about it. > > I run other mail lists and have had similar problems with gmail recently. > > The problem seems to be SPF. This says which IP addresses can be used for > sending email for particular domains. gmail has recently become much stricter. > > List emails are sent from php-smtp4.php.net (45.112.84.5). > > However the 'From' address is still that of the original sender -- which is OK > for the email that I am replying to as it is > From: Derick Rethans > > and the MX for php.net is php-smtp4-ip4.php.net. which has address 45.112.84.5 > > However I suspect that *this* email (the one that I am typing now) will get > bounced by gmail as my address is: addw@phcomp.co.uk and 45.112.84.5 is not > allowed (by SPF) to send email for phcomp.co.uk. > > So: how to fix ? > > Make the From: address internals@lists.php.net We don't want to change the From address, as that means that replies go to the list, rather than the original sender. We never had to do any of that before. > The envelope address is already, something like > internals+bounces-122457-addw=phcomp.co.uk@lists.php.net > > This means a fix to whatever list processor that you are using. > > Other recommendations: > > • MX for lists.php.net is php-smtp4-ip4.php.net. > Change to php-smtp4.php.net. Done > • SPF for lists.php.net is "v=spf1 a mx a:osu1php.osuosl.org. ip4:45.112.84.5 ip6:2a02:cb43:8000::1102" > Change to "v=spf1 a mx -all" Done, but I kept it as ~all. > •• osu1php.osuosl.org. does not seem to exist - so zap it Done > •• If you make the MX change that I suggest then the > following are redundant: ip4:45.112.84.5 ip6:2a02:cb43:8000::1102 Done > •• -all means no other addresses accepted. gmail started making that implicit in > the last few months, it is this that is causing the current problems. I've added ~all instead. > Once that has settled down you should enable sending email from (& > thus to) IPv6 addresses. This is the way that the world is moving. It > is not hard. Done that now too. Fingers crossed to see if any of this is helping. cheers, Derick --8323328-1627970163-1708620364=:2175910--