From nobody Mon Feb 9 09:33:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+53745+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+53745+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1580856579994505.42620032971104; Tue, 4 Feb 2020 14:49:39 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id q2j6YY1788612xxJBLMtj83D; Tue, 04 Feb 2020 14:49:39 -0800 X-Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.120]) by mx.groups.io with SMTP id smtpd.web09.1505.1580856579050040799 for ; Tue, 04 Feb 2020 14:49:39 -0800 X-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-136-hegVuM0oPHiauR0L7s7RRg-1; Tue, 04 Feb 2020 17:49:31 -0500 X-Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9BD19A0CC1; Tue, 4 Feb 2020 22:49:30 +0000 (UTC) X-Received: from x1w.redhat.com (ovpn-204-152.brq.redhat.com [10.40.204.152]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BB6AF7FB79; Tue, 4 Feb 2020 22:49:28 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Bob Feng , Liming Gao Subject: [edk2-devel] [PATCH 2/3] BaseTools/Scripts/PatchCheck.py: Detect emails rewritten by Groups.Io Date: Tue, 4 Feb 2020 23:49:15 +0100 Message-Id: <20200204224916.11320-3-philmd@redhat.com> In-Reply-To: <20200204224916.11320-1-philmd@redhat.com> References: <20200204224916.11320-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: hegVuM0oPHiauR0L7s7RRg-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,philmd@redhat.com X-Gm-Message-State: CpE3d4UYAsav4au33xlzzGbYx1787277AA= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1580856579; bh=fjD0czG9/5j7U1hh5DMUEsEIw3fVoOVCpQUvzNV2ljY=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=roPbjWxw44gjt6VofxoLSsSmqWWnQ5ro/AIOg1iUcM94G9Ql715XvfNvtLZSMTdQQGT w2gohfXoyWbpa54ztzRgQnn7Alk4GaeZEL34i3M8JomQfVoRIHWNETMPBlCToDP8y00Su pFJtBdiaISG022YoghsQ88WI5S4B3lY7aOc= X-ZohoMail-DKIM: pass (identity @groups.io) From: Philippe Mathieu-Daud=C3=A9 Due to strict DMARC / DKIM / SPF rules, Groups.Io sometimes rewrite the author email. See for example commit df851da3ceff5b6bcf5e12616. Add a check to detect these rewrites with PatchCheck.py. Cc: Bob Feng Cc: Liming Gao Signed-off-by: Philippe Mathieu-Daude --- BaseTools/Scripts/PatchCheck.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BaseTools/Scripts/PatchCheck.py b/BaseTools/Scripts/PatchCheck= .py index 07881abaf64e..13da6967785d 100755 --- a/BaseTools/Scripts/PatchCheck.py +++ b/BaseTools/Scripts/PatchCheck.py @@ -79,6 +79,10 @@ class EmailAddressCheck: self.error("The email address cannot contain a space: " + mo.group(3)) =20 + if ' via Groups.Io' in name and mo.group(3).endswith('@groups.io'): + self.error("Email rewritten by lists DMARC / DKIM / SPF: " + + email) + class CommitMessageCheck: """Checks the contents of a git commit message.""" =20 --=20 2.21.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#53745): https://edk2.groups.io/g/devel/message/53745 Mute This Topic: https://groups.io/mt/70984707/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-