From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13329: 24.2 post patch for #9521; Rmail forward does not correctly handle MIME messages containing "From " lines Date: Tue, 11 Oct 2022 14:14:23 +0300 Message-ID: <83y1tmeho0.fsf@gnu.org> References: <87o7uj1jb8.fsf@alum.mit.edu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4617"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 13329@debbugs.gnu.org To: mdl@alum.mit.edu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 11 14:57:47 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oiEpO-0000yP-8j for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Oct 2022 14:57:46 +0200 Original-Received: from localhost ([::1]:46156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiEpM-00089Q-R1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Oct 2022 08:57:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiDE1-0006a8-Oa for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 07:15:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52121) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiDDy-00077X-FS for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 07:15:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiDDy-0005WL-6K for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2022 07:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Oct 2022 11:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13329 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 13329-submit@debbugs.gnu.org id=B13329.166548686321161 (code B ref 13329); Tue, 11 Oct 2022 11:15:02 +0000 Original-Received: (at 13329) by debbugs.gnu.org; 11 Oct 2022 11:14:23 +0000 Original-Received: from localhost ([127.0.0.1]:51199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiDDK-0005VF-Oz for submit@debbugs.gnu.org; Tue, 11 Oct 2022 07:14:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiDDI-0005V1-OX for 13329@debbugs.gnu.org; Tue, 11 Oct 2022 07:14:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiDDC-0006z3-W2; Tue, 11 Oct 2022 07:14:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=HmJS7fH6zjYKn8hcjCIJ8C7w8fXNDz4zVGxZj5+artQ=; b=YHLTgoI/7TqP AE+h/3vJ/PZYSpifYlQRSoZfQ9gFbMRStis7sz/iIlGpXmKE8GrSh/ejl6RxWunzAoIe7QO43w+Ck R0abUhlI8jAzMsTGRM3X/T2AH6UpZQQkVnq4W5Bax3UuJlRZAHZ8Dg8GLoiLvclGoCIAlJ/fBn8hU 3t/jSOordc1OnPEGQwgPYr8w1An6PGYtoW542zNH5MVsPsg4gI/8TqKeawtFhEEU9R3YweEUgAwRC HBOQTtwaXrlXJoWjM51MON0XVdWuQ5zEy1vN2bDW1tD90OucwUzFEAU+a7ALGJmKXn31UPq7ELQid yocD5OrA6o+r2EIcPDFpyA==; Original-Received: from [87.69.77.57] (port=2074 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiDDB-0007sq-F8; Tue, 11 Oct 2022 07:14:13 -0400 In-Reply-To: <87o7uj1jb8.fsf@alum.mit.edu> (message from Mark Lillibridge on Mon, 10 Oct 2022 14:04:58 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245104 Archived-At: > From: Mark Lillibridge > Cc: eliz@gnu.org, larsi@gnus.org, 13329@debbugs.gnu.org > Date: Mon, 10 Oct 2022 14:04:58 -0700 > > > I was using Emacs Rmail, but not the pure emacs 28.1 -q because I > > need to change settings to send email. Let me see if I can try a purer > > reenactment. > > Ok, I sent myself a message with last line "From nothing" (pure text > body); fetchmail produced the attached incoming_sample.gz file, which > Rmail 'g' added to an empty Rmail file to produce the attached > RMAIL.sample.gz. I did this using as pure an Rmail set up as I can with > emacs 28.1. My sending/receiving goes through MIT email forwarding and > uses Gmail as a receiving service. > > Both of these files have the proper mbox quoting, with a > before the > >From in the body. If I switch to emacs 28.1 -q and open that Rmail > file, I see the extra > and pressing 'f' includes it in the forwarded > message. This shows both bugs (13328 and 13329). > > See if you can open RMAIL.sample and reproduce the bugs on your end. > If so, something must differ between our email sending/receiving before > rmail processes. If you can't reproduce the bugs given the Rmail file, > I'm very confused. So, to summarize: . the problem happens only in emails that have MIME-Version: header . the problem happens only in emails that have just the body, no attachments . the problem happens because rmail-show-mime doesn't remove the ">" from ">From" when it shows the plan-text MIME content Is that correct?