From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas 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: Sun, 3 Sep 2023 01:33:29 -0700 Message-ID: References: <87o7uj1jb8.fsf@alum.mit.edu> <83y1tmeho0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12135"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mdl@alum.mit.edu, larsi@gnus.org, 13329@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 03 10:34:09 2023 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 1qciYa-0002tO-Vg for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Sep 2023 10:34:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qciYM-0003QF-At; Sun, 03 Sep 2023 04:33:54 -0400 Original-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 1qciYK-0003Pm-F2 for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2023 04:33:53 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qciYJ-0004Ou-S7 for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2023 04:33:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qciYU-0005iP-2c for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2023 04:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Sep 2023 08:34: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.169373002921947 (code B ref 13329); Sun, 03 Sep 2023 08:34:02 +0000 Original-Received: (at 13329) by debbugs.gnu.org; 3 Sep 2023 08:33:49 +0000 Original-Received: from localhost ([127.0.0.1]:39240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qciYG-0005hv-Qb for submit@debbugs.gnu.org; Sun, 03 Sep 2023 04:33:49 -0400 Original-Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:46527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qciYE-0005hd-CR for 13329@debbugs.gnu.org; Sun, 03 Sep 2023 04:33:47 -0400 Original-Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-500c7796d8eso737192e87.1 for <13329@debbugs.gnu.org>; Sun, 03 Sep 2023 01:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693730010; x=1694334810; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=Nso3daZV/paMkUlHPMJGt2au074w3oMeirpJI/z8t0I=; b=i5NJgvhWKpFi18Mn+J6mpVjqHtpregaZXwHlMDqAEKE6SapfrxOHqyvGzROWx9aScS pjY+v3clnr0B/Sdq+DOYfmqWuODgwQYE+2J61iEt7FJCWu57DTsDlcF5VVs3x3EdE25P AXmvbl2oLzPl8oKaB8VoFJwARHPd/fQATnzs7qyNrxUZxRAyk6WnTO1yvxIMlxg+MNmT 1yYuKhmXJrgKRXy6YcEMlgjhzjKxYw9cL6PJgvzviMxVeCpR6mgxnaXsZZ4lzq5uKA0U MI96BGZzyu8bl/C3uEic/Zi//xAwLsLm6cnAz9dV/VVSYwtQy2ttcWdMurql/uwZkeeO GkxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693730010; x=1694334810; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Nso3daZV/paMkUlHPMJGt2au074w3oMeirpJI/z8t0I=; b=EnDqsY0oahZehuLvBN5MzOVcXoJ/NXmbPPPWXVZC9Zn9KIn6qXFj8Imo6+6WvNv+dx bRo/ejbW36VKTrnInSU7Lew4BVrDqMzmBpurFhazQIrMxgCvSY3N1Uz+XonmNINoVtE9 h0sh/UZqhGMagh657/OA2vzIYAWsZMNx74Mgsn0kv4nAfsFD73HgiDvjWIP0NBNGc3tJ 0uPzeUQf6QSBMmDooY6ktVSPkS5AGrKpS10fMZdp0e3KileEpf6QZNmFKxLjAsCeLJGj 6YDtHgk/eJ8kKRm81Qj1uBMypPb5C8whCAP6tADvYBmhsXbD3XkLeT1O94Rb27sG6EM0 dOxw== X-Gm-Message-State: AOJu0YwPJL5JpK1hIh8DZJRrAjLT42I+N3ukcqJ3XUvhUOwTl/AXz3ko cGsOMxCq6No06CZ+aanY8EIszeyP7OTzFiMIDZh2L4zjp5g= X-Google-Smtp-Source: AGHT+IGUhPeSXjvCnilkjElTcGPmhjmnls8iWlB41Lb+LifraDvNDizKu6pBEJN0eK84shCb8VHnQ/9nqJdXzDulUKU= X-Received: by 2002:ac2:4c47:0:b0:500:76aa:b962 with SMTP id o7-20020ac24c47000000b0050076aab962mr5843748lfk.15.1693730009842; Sun, 03 Sep 2023 01:33:29 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 3 Sep 2023 01:33:29 -0700 In-Reply-To: <83y1tmeho0.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 11 Oct 2022 14:14:23 +0300") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269084 Archived-At: Eli Zaretskii writes: >> 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? It seems like we need more information here in order to make any progress. Mark, could you answer the questions above? Thanks in advance.