From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05E17C433E7 for ; Fri, 16 Oct 2020 15:18:13 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 512AB208E4 for ; Fri, 16 Oct 2020 15:18:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="iKqvAOnw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 512AB208E4 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 919826B0068; Fri, 16 Oct 2020 11:18:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8CA4C6B0070; Fri, 16 Oct 2020 11:18:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7B8A9940009; Fri, 16 Oct 2020 11:18:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0176.hostedemail.com [216.40.44.176]) by kanga.kvack.org (Postfix) with ESMTP id 424646B0068 for ; Fri, 16 Oct 2020 11:18:11 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 83A461EE6 for ; Fri, 16 Oct 2020 15:18:10 +0000 (UTC) X-FDA: 77378144340.23.fly45_2d131412721e Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin23.hostedemail.com (Postfix) with ESMTP id 4976437606 for ; Fri, 16 Oct 2020 15:18:10 +0000 (UTC) X-HE-Tag: fly45_2d131412721e X-Filterd-Recvd-Size: 4869 Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) by imf49.hostedemail.com (Postfix) with ESMTP for ; Fri, 16 Oct 2020 15:18:09 +0000 (UTC) Received: by mail-lf1-f66.google.com with SMTP id r127so3351612lff.12 for ; Fri, 16 Oct 2020 08:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W5bubVN1nJm0E15PEMVmfpn4NSAiAmTx9/tR67pXj3Q=; b=iKqvAOnwWOEoQhC4dhk2vDmNQOLhO9Lrd4vck51qWGyDjuKU5KpLMSlRJQ8EWhWRLV Gg5hwe2qy+l+LiLuFxhehPt6iEiIiPd8l7M1QgzfeIMxKEl4c7D4rQMqdycZ9XJOxWsJ WHJBegNcJfT9uMH80Up+4/NDtSV5T54mUYSYdr2S6eULpQuBLSdWADrOLBbMYVsDkrYl 8y079qX98QmGozA3s+zyAvdfJe/EszWErNeXXzc0v1+XlcuPkhx1pUWsGZkk/A15oOcB 5sDUpCZguZr6QFzvol+bxskzSoGoZ5oEbVfnDFBCnJDS7/ZaSdPRxjJZl0DWmlNencHR d1PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W5bubVN1nJm0E15PEMVmfpn4NSAiAmTx9/tR67pXj3Q=; b=V52pPP5PBu5Qc1cFAD0EIWhn/mkJo5bbTs7O1d7ts6sOoNATMNutVHmwQy4fOHvjIC Bs/tm4PuZgqJ4wt7bt4vNay2DY7XzeEv028RpbUVLheX9CaXyhxKPjfMhidT0IzVKmuN +8LcUe/0ekuNJAd8C5rtDgxPQslWJgt9nbLKXluUr5RCGRPo5+LzUtkTxc0zvt1C3pnx AuukOos1JLQSHQyH4hETlWTMTAz4vjdwtYksIiV9vOOWWuLGVwU8htAbAwY60pnOIgmM LxUnOAmCnwO9f77xc0cV4eF5sTKwtamiLSO/zxpN8U95i0xpoOUBRhdPWXxLWo9IQUA7 NXuQ== X-Gm-Message-State: AOAM532pHcow30XRyps2b9ZVOI0trEW7msoBwzpSW5XktTxcd3ZpG0t+ Lf3wElVxLEi1ht+RVqpnQjAemfA4YDD6DQuNeSmYPg== X-Google-Smtp-Source: ABdhPJxknmmkFyBJK1qTFuDyIDRd2re3Dw07ns+W0pyZchiaMPRvaY17qGSjMsWVoJWi1wIUIm91YGzyESfIR/DQhX0= X-Received: by 2002:a05:6512:1182:: with SMTP id g2mr1485562lfr.198.1602861487915; Fri, 16 Oct 2020 08:18:07 -0700 (PDT) MIME-Version: 1.0 References: <20201016135451.GB36674@ziepe.ca> In-Reply-To: <20201016135451.GB36674@ziepe.ca> From: Jann Horn Date: Fri, 16 Oct 2020 17:17:41 +0200 Message-ID: Subject: Re: Emails from kvack.org going into spam To: Jason Gunthorpe Cc: Andrew Morton , Linux-MM Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.078447, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Oct 16, 2020 at 3:54 PM Jason Gunthorpe wrote: > Does anyone know who is the admin for kvack.org? > > I was cleaning my GMail spam mail box and saw lots of messages from > Jann Horn in the spam filter. Since he is not a spammer I investigated > what is going on. > > I see it is because GMail is flagging all of Jann's messages as having > a DKIM failure and Jann's employeer domain 'google.com' is enforcing a > DMARC policy: > > Authentication-Results: mx.google.com; > dkim=neutral (body hash did not verify) header.i=@google.com header.s=20161025 header.b=UzPVodG7; > spf=pass (google.com: domain of owner-linux-mm@kvack.org designates 205.233.56.17 as permitted sender) smtp.mailfrom=owner-linux-mm@kvack.org; > dmarc=fail (p=REJECT sp=REJECT dis=QUARANTINE) header.from=google.com > > Selecting a message from Jann that went through LKML and kvack: > > https://lore.kernel.org/lkml/20201015000041.1734214-1-jannh@google.com/raw > https://lore.kernel.org/linux-mm/20201015000041.1734214-1-jannh@google.com/raw > > And checking the DKIM: > > $ opendkim-testmsg < raw.lkml > $ opendkim-testmsg < raw.mm > opendkim-testmsg: dkim_eom(): Bad signature > > Confirms that Jann sent the message correctly, but kvack is breaking > the signature while vger is not. The DMARC policy on Jann's email is > causing receivers to junk his email as spam. I expect I'm not the only > one. > > I see that kvack is modifying the message in transit. Notably it > changed the transfer encoding from > Content-Transfer-Encoding: 8bit > to > Content-Transfer-Encoding: quoted-printable > > And mangled the body accordingly. Changing the > Content-Transfer-Encoding definitely breaks the signature. Oof... I thought I had solved everything once I had a setup that didn't break with VGER (which replaces existing "Sender" headers)... As far as I can tell, 8bit encoding is the default behavior of "git send-email"? That's what the manpage says... I guess I can try to work around it for now by changing git's "sendemail.transferEncoding" from the default "auto" (which uses 8bit if possible) to "quoted-printable"... but of course it would be nicer to fix this on the list's side. I'll try to flip that config flag and resend my most recent patch series...