From nobody Tue Feb 10 14:49:29 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1695825680; cv=none; d=zohomail.com; s=zohoarc; b=Jo2es/byr3z7NGMaIyIfAlvJF5Uus7LHA6TvETSAvj4u7FJwkuei29BMLE4I+EsMCGS3MZ1T6QxanYUF81ptvigfEHtUBL38vxzAN1SmDmyS5QZch50/4lTVW+zE6BAdcZtT7ztQMgtl4A3EDUwVgMUjhEmmqPEg0gO+h+F9XWA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1695825680; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=SwR1yE4FyGO3jjOhZ7gJ2+bUA/lQX7JfShg4GhNjJdM=; b=Kto6gSBI437UtQDNorYOQ+CDFNgpPEjx4rsZ+Exl5Fl48z/VZ4jtsG6ZkhkDELR6J2msuswWcSWJDpAFURgkckDKTosFXqPd9DwNN1p2xXmKg1d5Y5IeFEJsIsEhuNUI6xXZmiyR+1gok8c4k6c100OVcdNOPGckdSSrGKe2JLk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1695825680791371.25777216867175; Wed, 27 Sep 2023 07:41:20 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qlVib-0005Pn-Oa; Wed, 27 Sep 2023 10:40:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qlVia-0005PK-G8 for qemu-devel@nongnu.org; Wed, 27 Sep 2023 10:40:48 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qlViY-0000ed-D0 for qemu-devel@nongnu.org; Wed, 27 Sep 2023 10:40:48 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-650-LI6FCgCVOFahVYHdQXvd8Q-1; Wed, 27 Sep 2023 10:40:42 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A4C1C858F1B; Wed, 27 Sep 2023 14:40:41 +0000 (UTC) Received: from green.redhat.com (unknown [10.2.16.59]) by smtp.corp.redhat.com (Postfix) with ESMTP id 340B5492B05; Wed, 27 Sep 2023 14:40:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695825645; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SwR1yE4FyGO3jjOhZ7gJ2+bUA/lQX7JfShg4GhNjJdM=; b=Giq92/avW2HXdUqOf0efjxASqW535rDhS1JBHe93+wfR0qOKr8NYGP5o40EpoDuZ6J38DU fQr+Bt+b5ifycWF8TRone4YWLIWVFPdnydnX/htQPDdWDIJ3S4Q/f9PtEO56SH6U+iNUdL 5AWLYb28/ANTusklUiixbHQtLtjBFoI= X-MC-Unique: LI6FCgCVOFahVYHdQXvd8Q-1 From: "Eric Blake" To: qemu-devel@nongnu.org Cc: balaton@eik.bme.hu, andrey.drobyshev@virtuozzo.com, peter.maydell@linaro.org, Eric Blake Subject: [PATCH v2 2/3] maint: Tweak comments in mailmap regarding SPF Date: Wed, 27 Sep 2023 09:38:18 -0500 Message-ID: <20230927143815.3397386-7-eblake@redhat.com> In-Reply-To: <20230927143815.3397386-5-eblake@redhat.com> References: <20230927143815.3397386-5-eblake@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=eblake@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1695825682151100002 Content-Type: text/plain; charset="utf-8" From: Eric Blake Documenting that we should not add new lines to work around SPF rewrites sounds foreboding; the intent is instead that new lines here are okay, but indicate a second problem elsewhere in our build process that we should also consider fixing at the same time, to keep the section from growing without bounds. While we have been doing that for qemu-devel for a while, we jut recently fixed that for qemu-block: https://git.linaro.org/people/pmaydell/misc-scripts.git/commit/?id=3Df9a317= 392 Mentioning DMARC alongside SPF may also help people grep for this scenario, as well as documenting the 'git config' workaround that can be used by submitters to avoid the munging issue in the first place. Note the subtelty: 'git commit' sets authorship information based on user.name and user.email (where name is usually unquoted); while 'git format-patch' includes a body 'From:' line only when sendemail.from is present but differs from authorship information. Hence the use of quotes in sendemail.from (not a semantic change to email, but enough of a difference to add the body 'From:'). Fixes: 3bd2608d ("maint: Add .mailmap entries for patches claiming list aut= horship") CC: Andrey Drobyshev Cc: Peter Maydell Signed-off-by: Eric Blake Reviewed-by: Peter Maydell --- Once again, sending this patch to the list with my git config temporarily changed. I used a command line: git config sendemail.from '"Eric Blake" ' which turned into this in my .git/config: [sendemail] from =3D \"Eric Blake\" My editor window in 'git send-email' doesn't show the body from line, but hopefully the list archives do (that is, the addition of a body From appears to be a post-processing step done by git after my editor window closes but before the final mail is actually shoved out my MUA) --- .mailmap | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.mailmap b/.mailmap index 04a7feb005b..fadf6e74506 100644 --- a/.mailmap +++ b/.mailmap @@ -40,7 +40,19 @@ Nick Hudson hnick@vmware.com # for the cvs2svn initialization commit e63c3dc74bf. # Next, translate a few commits where mailman rewrote the From: line due -# to strict SPF, although we prefer to avoid adding more entries like that. +# to strict SPF and DMARC. Usually, our build process should be flagging +# commits like these before maintainer merges; if you find the need to add +# a line here, please also report a bug against the part of the build +# process that let the mis-attribution slip through in the first place. +# +# If the mailing list munges your emails, use: +# git config sendemail.from '"Your Name" ' +# the use of "" in that line will differ from the typically unquoted +# 'git config user.name', which in turn is sufficient for 'git send-email' +# to add an extra From: line in the body of your email that takes +# precedence over any munged From: in the mail's headers. +# See https://lists.openembedded.org/g/openembedded-core/message/166515 +# and https://lists.gnu.org/archive/html/qemu-devel/2023-09/msg06784.html Ed Swierk Ed Swierk via Qemu-devel Ian McKellar Ian McKellar via Qemu-devel Julia Suvorova Julia Suvorova via Qemu-devel --=20 2.41.0