From unknown Tue Jun 17 22:20:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76595: 29.4; Problem getting RMAIL to detect a change to the value of `rmail-movemail-program'. Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Feb 2025 18:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 76595@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17405938212438 (code B ref -1); Wed, 26 Feb 2025 18:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Feb 2025 18:17:01 +0000 Received: from localhost ([127.0.0.1]:55441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tnLxs-0000dF-Ri for submit@debbugs.gnu.org; Wed, 26 Feb 2025 13:17:01 -0500 Received: from lists.gnu.org ([2001:470:142::17]:52668) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tnLxq-0000cp-QZ for submit@debbugs.gnu.org; Wed, 26 Feb 2025 13:16:59 -0500 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 1tnLxb-0006c8-5A for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2025 13:16:43 -0500 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tnLxZ-0007mW-G4 for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2025 13:16:42 -0500 Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7c08b14baa9so5629685a.3 for ; Wed, 26 Feb 2025 10:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740593800; x=1741198600; darn=gnu.org; h=content-transfer-encoding:mime-version:subject:to:from:message-id :date:from:to:cc:subject:date:message-id:reply-to; bh=RSiFjVj/cPwE+YoZbL/+qeaHtCShmREeZqoHI+nBppk=; b=b0Jcn81gvSxYaWDfHY1WSD8y46BZf0LCC3TsPUdK7xr9lZop9wLc4mg9wCc3uA1kgE Zw2CsLRRkd4eo/YH7tsKlQIklEh7zCIpl5lmYJi1RptIB90Po4X9BAv88RaQrSca401S p53QdgqOC3jZoT5IfywmVy6wGxuPPeykq5W/u9yXQPHLSuY5YJGYeF7GeTgdx50kjnaG boeafx3Gay4Frp3M1hsYT7r4maH9UDR6T07Wni/FFeZr2tLkKYAfLBt9Z2nGh63xX/do NVZHfaKsPVw6e6zkC61BwX0UF4Wmb8FtYtU2DUbi8sYfcHIR9gTX8C2j6F48I+RJatJF CVZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740593800; x=1741198600; h=content-transfer-encoding:mime-version:subject:to:from:message-id :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RSiFjVj/cPwE+YoZbL/+qeaHtCShmREeZqoHI+nBppk=; b=oly4Sx+RQSAf2yimx6uK6IYaAaQRWab7nWofGNxOaZntaMZTr6kOmUD0Bjj+2ShcUv cz2ROWY6bjV2ZvAoI2KFsnRFL8OpmgxvZQ8qXM3ICyiganOKi/zaU+iSB6zX5iegnzaR qQ473505PixkZrcbQtbsagUw7OgaRQnr1kMpVZrfGncr9WpjUMa/stCE8CZZTe66a7Nk +XZ6OkC3Kn6EUciBW4oXeTAmGEGWFyo9lr7q+Gaw14KXInVCGp2mtxK6a+GU8Gn/F8YG 818V05CIvhgoMnOpgy4RmFdrVnf7ksLJsiAkPmNJ6NgHbG002YpwX9cLn65A6GeQuVV/ 7adA== X-Gm-Message-State: AOJu0YxRO6GPa8sASTgOov/s9MgSUNbWXzaRVy/YFnXoAeF4ydyNhn/g qYgMGr23MMaIG3RG9tGlgZvsbXFdkEnN8pg6AtvR/wP7CXarCeplj4FKGA== X-Gm-Gg: ASbGncse/ELNLpZ0by3Wtwy9lRN9ilC3SAoG+8mdfl2UfWlARFCw+GIztDTPdoBPV3q oJ1jEpripKQCEXwTtTSCzId0xyHiw7w0oTlxb1V+YzHxTkQE9OUKw6Q7WMlgkkqniXjMMOcgD36 U9kozBxjO/L7GKgRneJK6GftgVz7diw0cHT9KjTj78zFVGjWvTW7D+lsk9Yl1clN9cIAAV38EQ6 3MzOsGn8MXD/e5Cev7TJiICoPU7ZMDQt9WK8gd9DydnekSjYwHGTfvQdlPHx9py/840DU+JSNQr oRNw9fw/EQgQa7ZvvebfwYKv X-Google-Smtp-Source: AGHT+IEFKP7k80qMJmYs2W7EAn+SuUfF8ZM4852K/dV6T1ujiEvDF9wfsiG0Nl6Wl05GGjpF54OrMQ== X-Received: by 2002:a05:620a:458b:b0:7c0:c214:f25 with SMTP id af79cd13be357-7c23c049547mr1254403185a.56.1740593799768; Wed, 26 Feb 2025 10:16:39 -0800 (PST) Received: from t530.local ([2600:8806:a801:3150:827c:bd8a:44c4:38c6]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7c23c2c0e3esm277640185a.52.2025.02.26.10.16.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 10:16:39 -0800 (PST) Date: Wed, 26 Feb 2025 13:16:38 -0500 Message-Id: <87o6yosha1.fsf@gmail.com> From: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=tpeplt@gmail.com; helo=mail-qk1-x731.google.com X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MALFORMED_FREEMAIL=2.161, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Emacs Maintainers, There is a problem with getting Emacs/Rmail to use the Mailutils version of =?UTF-8?Q?=E2=80=98movemail=E2=80=99?= if the value of =?UTF-8?Q?=E2=80=98rmail-movemail-program=E2=80=99?= is set after Rmail has been started. - Start Emacs with `emacs -Q'. Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tpeplt[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.2 MALFORMED_FREEMAIL Bad headers on message from free email service X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Emacs Maintainers, There is a problem with getting Emacs/Rmail to use the Mailutils version of =?UTF-8?Q?=E2=80=98movemail=E2=80=99?= if the value of =?UTF-8?Q?=E2=80=98rmail-movemail-program=E2=80=99?= is set after Rmail has been started. - Start Emacs with `emacs -Q'. Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tpeplt[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.2 MALFORMED_FREEMAIL Bad headers on message from free email service -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Emacs Maintainers, There is a problem with getting Emacs/Rmail to use the Mailutils version of ‘movemail’ if the value of ‘rmail-movemail-program’ is set after Rmail has been started. - Start Emacs with `emacs -Q'. - Verify that the user option `rmail-movemail-program' is set to nil (the default). - Start Rmail: M-x rmail - Check the value of the variable `rmail-movemail-variant-in-use', which is set in the function `rmail-movemail-variant-p': C-h v rmail-movemail-variant-in-use [RET] Confirm that its values is 'emacs. - Quit Rmail: Type 'q' in the RMAIL buffer. - Kill the RMAIL buffer: C-x k RMAIL [RET] - Set the value of the user option `rmail-movemail-program' to the absolute path to the Mailutils `movemail' program. Optionally, set the value of user option `rmail-primary-inbox-list' to a mailbox with the `pops' protocol, that is, "pops://USERNAME:[PASSWORD]@HOSTNAME:[PORT]". - Set a breakpoint in the function `rmail-movemail-variant-p'. - Start Rmail with: M-x rmail [RET] - Stepping through `rmail-movemail-variant-p', note that the value of the variable `rmail-movemail-variant-in-use' is 'emacs. This prevents the function from setting `rmail-movemail-variant-in-use' to 'mailutils. This, in turn, prevents Rmail from using `rmail-movemail-program' to retrieve mail from the location(s) in `rmail-primary-inbox-list'. - Without setting `rmail-movemail-variant-in-use' manually, it is necessary for a user to exit Emacs and restart it, then set the value of `rmail-movemail-program' to the absolute path to the Mailutils `movemail' program *before* starting Rmail. Possibly, the fix for this is to change the code in the function `rmail-movemail-variant-p' to check for a non-nil value for the user option `rmail-movemail-program' (which is done later in the call to the function `rmail-autodetect'). Or, in the function ‘rmail’, code could be added to reset the value of ‘rmail-movemail-variant-in-use’ to nil, and then update the description of what to do when `rmail-movemail-program' is set or changed (that is, re-run ‘rmail’ command). >From (info "(emacs) Movemail"): The variable ‘rmail-movemail-program’ controls which version of ‘movemail’ to use. If that is a string, it specifies the absolute file name of the ‘movemail’ executable. If it is ‘nil’, Rmail searches for ‘movemail’ in the directories listed in ‘rmail-movemail-search-path’, then in ‘exec-path’ (*note Shell::), then in ‘exec-directory’. At a minimum, it seems that this variable should be reset each time the command M-x rmail [RET] is given. This would not affect the run-time behavior of the `g' command (`rmail-get-new-mail') in the RMAIL buffers, but would add to the (re-)start time of RMAIL. -- The lyf so short, the craft so long to lerne. - Geoffrey Chaucer, The Parliament of Birds. From unknown Tue Jun 17 22:20:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76595: 29.4; Problem getting RMAIL to detect a change to the value of `rmail-movemail-program'. Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Feb 2025 19:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Cc: 76595@debbugs.gnu.org Received: via spool by 76595-submit@debbugs.gnu.org id=B76595.174059839516304 (code B ref 76595); Wed, 26 Feb 2025 19:34:02 +0000 Received: (at 76595) by debbugs.gnu.org; 26 Feb 2025 19:33:15 +0000 Received: from localhost ([127.0.0.1]:55537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tnN9e-0004Eu-Pr for submit@debbugs.gnu.org; Wed, 26 Feb 2025 14:33:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44764) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tnN9c-0004Ee-2s for 76595@debbugs.gnu.org; Wed, 26 Feb 2025 14:33:13 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tnN9W-0004qo-I5; Wed, 26 Feb 2025 14:33:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=OSIM90Zn8jSQ2LSme7WC6Y2BeEJfdFbV3FDjR76kRro=; b=HfNf84i+qAhtFoscaGcG 4cng1BVehoAz2QaVWQbzs8mPWWeE+8sF34wbpKf9auv6/VmZIe9t3UNYrjcwqfEWniAGmeQJRZruS zt/G7lqo+f5WbZ75odV1sZDLmlmfDQIYluCdfe/BI60FNqBXZ744I2z1bKqKyVyNkn+ES1h0zO7q2 DPppA7BfqHOyFqFrA/sFtennovWn3RAENb3VQ1scQs7he920frC8ejS311Wpv2ZUB+TuEskd3bBBk PBSehGXLpe/Tkff0TMmBYSMfoEQvMVEWIkNCu9vuX4hoI6G01OIy2HcTvV2wmfx+sC0CWp0UuEp+p 4rpStzLdw+fxgA==; Date: Wed, 26 Feb 2025 21:33:04 +0200 Message-Id: <86bjuov6vj.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87o6yosha1.fsf@gmail.com> (tpeplt@gmail.com) References: <87o6yosha1.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Wed, 26 Feb 2025 13:16:38 -0500 > From: > > Emacs Maintainers, > > There is a problem with getting Emacs/Rmail to use the > Mailutils version of ‘movemail’ if the value of > ‘rmail-movemail-program’ is set after Rmail has been > started. To avoid these complications, either customize rmail-movemail-program in your init file, so it is already set to the value 'mailutils' when you start Rmail, or simply remove the version of 'movemail' that came with Emacs, so that the only 'movemail' Rmail can find is that from Mailutils. (If you build your Emacs yourself, you can configure Emacs with the '--with-mailutils' configure-time option, in which case the Emacs version of 'movemail' will not be built and will not be installed.) From unknown Tue Jun 17 22:20:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#76595: 29.4; Problem getting RMAIL to detect a change to the value of `rmail-movemail-program'. Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Feb 2025 20:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 76595@debbugs.gnu.org Received: via spool by 76595-submit@debbugs.gnu.org id=B76595.174060229028632 (code B ref 76595); Wed, 26 Feb 2025 20:39:02 +0000 Received: (at 76595) by debbugs.gnu.org; 26 Feb 2025 20:38:10 +0000 Received: from localhost ([127.0.0.1]:55663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tnOAT-0007Rk-OD for submit@debbugs.gnu.org; Wed, 26 Feb 2025 15:38:10 -0500 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:50474) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tnOAR-0007RD-Gf for 76595@debbugs.gnu.org; Wed, 26 Feb 2025 15:38:08 -0500 Received: by mail-qt1-x829.google.com with SMTP id d75a77b69052e-4721bfdb565so2693331cf.1 for <76595@debbugs.gnu.org>; Wed, 26 Feb 2025 12:38:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740602282; x=1741207082; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:subject :in-reply-to:cc:to:from:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=LZ4dWo7T+e2DUsv3b/RtNGflhNxw+p/ko8/8YqA6oUg=; b=Q1UZe7OBFSzxtOJy0fYg1zx10Uljy5UEogJdHP1kRL60aDo4x3cjMuHFN5akGGLCwI TyhVbwTltq+6DGjXtES1RXsmjWNuH1BbHK3wxIe2wTUpDbAZr6HHitjE7EhCkZ2g31OZ kY7NabwK14N3pe7NPMFShLy5FSV6l9IJSUyFyS5/yxbmAqlGcTFEIOivZYR4BfuD8cqB VyFD0qZtr0rX53qJj8Y3g77TtrXJseYpvyZDgUR6W3r4fJT860eAoF6QROoE4RaK7taF ODjeE92Qju8w5KtIx4Q0nNWPSrYwW8p5AMx8XnelRn7yAi333cfiZpkNrWuU+c55rr0B H3DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740602282; x=1741207082; h=content-transfer-encoding:mime-version:references:subject :in-reply-to:cc:to:from:message-id:date:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=LZ4dWo7T+e2DUsv3b/RtNGflhNxw+p/ko8/8YqA6oUg=; b=sqa/ip7G/J+iBdhLq0R0rQ2HOUuesRCUrsfINjDRJT8K0n2eDTgnECn822D0jajlJH 4tEhKCAcCA0LP75NNEWWpSEoeQfbNRneJ+PqJPPw+MWF2g7VFpYMAShZn2SllLYVJb6+ 0Q4d+StGOLUM+1fsCrlltvT1unHE1tv/QaUia5oZ0yvKb1dm1EGjYvAAqD9GiiCvaGAV c9ezprreGGcu+CMqgQts3zY1W1u53kZ4N09jUiW8TFc1K6gAonyT4ZXbRbXoUwKk/LNy NESzXsGrVOru7j9Wp9JKDPlmZfbZNjRf6SsGjgSqhNFQZFe1w16HmJ3Sk6USpeFfcH04 r9ug== X-Gm-Message-State: AOJu0YwZ1mVW1BFwZDdGwXWkcxHVHkJUbLieQuPRE0Lv8F25Js6dfEz6 eGHQfW32OlLYGPzL3ogkCRhA3Y2C8n2XQYdCgF07jFC0hS152rPq X-Gm-Gg: ASbGncu1B2ESTT5/mwDyd1USRVg1TysWIc+XWfc7Kyd05LschtOLnv3x/WRuCw2Bku+ MHof6WeTf+9ngZ91hS0CyJiQRPgThn2RxUL6M6dZXmw64yOMu6qntqjxy1U9spUch8tmLMai+hO oUKXx49p6S7LS93f6OKyfEGREumG7lk7bm55lFw0yeGbFIv8EDxBQYeAEs8ZZLlHt0ldQA1SWTc XHMShGXEDJd7Ip9SOVyImo9Kcakuytk4AH2BkipmsNEoWsGoiN60fXY7WXhtFs6P2RZARJEeHSC 0sAE/RtaaN/IgoSsT4/AY9FU X-Google-Smtp-Source: AGHT+IFtrr43XzlFjHbU0EUwoU5IlG6SqMwC62xMxGBL1kPBk+ZbEScFJPSfPUBWD1Wd1hDM1OM8/A== X-Received: by 2002:ac8:59d3:0:b0:471:fa92:923e with SMTP id d75a77b69052e-47377228917mr125632901cf.25.1740602281647; Wed, 26 Feb 2025 12:38:01 -0800 (PST) Received: from t530.local ([2600:8806:a801:3150:827c:bd8a:44c4:38c6]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-474617b452asm734561cf.0.2025.02.26.12.38.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 12:38:00 -0800 (PST) Date: Wed, 26 Feb 2025 15:37:59 -0500 Message-Id: <87mse8saqg.fsf@gmail.com> From: In-Reply-To: <86bjuov6vj.fsf@gnu.org> (message from Eli Zaretskii on Wed, 26 Feb 2025 21:33:04 +0200) References: <87o6yosha1.fsf@gmail.com> <86bjuov6vj.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Wed, 26 Feb 2025 21:33:04 +0200 > From: Eli Zaretskii > > > From: > > > > Emacs Maintainers, > > > > There is a problem with getting Emacs/Rmail to use the > > Mailutils version of =?UTF-8?Q?=E2=80=98move?= [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tpeplt[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:829 listed in] [list.dnswl.org] 2.2 MALFORMED_FREEMAIL Bad headers on message from free email service X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > Date: Wed, 26 Feb 2025 21:33:04 +0200 > From: Eli Zaretskii > > > From: > > > > Emacs Maintainers, > > > > There is a problem with getting Emacs/Rmail to use the > > Mailutils version of =?UTF-8?Q?=E2=80=98move?= [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:829 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tpeplt[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 2.2 MALFORMED_FREEMAIL Bad headers on message from free email service -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager > Date: Wed, 26 Feb 2025 21:33:04 +0200 > From: Eli Zaretskii > > > From: > > > > Emacs Maintainers, > > > > There is a problem with getting Emacs/Rmail to use the > > Mailutils version of ‘movemail’ if the value of > > ‘rmail-movemail-program’ is set after Rmail has been > > started. > > To avoid these complications, either customize rmail-movemail-program > in your init file, so it is already set to the value 'mailutils' when > you start Rmail, or simply remove the version of 'movemail' that came > with Emacs, so that the only 'movemail' Rmail can find is that from > Mailutils. > Thank you for your response. Yes, I understand how to resolve the problem (having spent a considerable amount of time tracking it down while assuming that I had made numerous mistakes). The reason I sent in the report is that there is an error in Emacs, either in the documentation of how to use ‘movemail’ or in the rmail.el file, depending on what the maintainers want to change. The problem as it is now is that the behavior of Emacs and the requirements for using movemail are not sufficiently well documented. Either or both could be fixed. If the code is not going to be changed, then the Emacs manual should be updated to document that a change to ‘rmail-movemail-program’ may not take effect until Emacs is restarted. This is necessary so that new users of Rmail do not encounter the problem that I described in the problem report. A better solution might be to change the manual to say that M-x rmail [RET] is required after changing ‘rmail-movemail-program’, and to change (defun rmail ...) to (re-)initialize ‘rmail-movemail-variant-in-use’ to nil, but that is a choice for you maintainers. Possibly, the following code could be moved into (defun rmail ...), also: ;; Call for effect, to set rmail-movemail-program (if not set by the ;; user), and rmail-movemail-variant-in-use. Used by various functions. ;; I'm not sure if M-x rmail is the only entry point to this package. ;; If so, this can be moved there. (rmail-movemail-variant-p) -- The lyf so short, the craft so long to lerne. - Geoffrey Chaucer, The Parliament of Birds. From unknown Tue Jun 17 22:20:01 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Subject: bug#76595: closed (Re: bug#76595: 29.4; Problem getting RMAIL to detect a change to the value of `rmail-movemail-program'.) Message-ID: References: <867c58q2v3.fsf@gnu.org> <87o6yosha1.fsf@gmail.com> X-Gnu-PR-Message: they-closed 76595 X-Gnu-PR-Package: emacs Reply-To: 76595@debbugs.gnu.org Date: Sat, 01 Mar 2025 13:48:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1740836883-5891-1" This is a multi-part message in MIME format... ------------=_1740836883-5891-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #76595: 29.4; Problem getting RMAIL to detect a change to the value of `rma= il-movemail-program'. which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 76595@debbugs.gnu.org. --=20 76595: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76595 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1740836883-5891-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 76595-done) by debbugs.gnu.org; 1 Mar 2025 13:47:57 +0000 Received: from localhost ([127.0.0.1]:35791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1toNC9-0001Wa-64 for submit@debbugs.gnu.org; Sat, 01 Mar 2025 08:47:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34148) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1toNC6-0001W2-0E for 76595-done@debbugs.gnu.org; Sat, 01 Mar 2025 08:47:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1toNC0-0002v9-9z; Sat, 01 Mar 2025 08:47:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=WkhyVzsSDESiISR8jzRthSzL0OgccaHCAGSVU/C4tN4=; b=fBBhEopQ3NXR97tgDDcX 9UuH8sjbvGUb1VKzP3FDoXHs118ossMrifdMmzLvszUW9eA1s4n5SkSWXg6vW3IaT+mDduRby5jDQ 1g+Ya//is6YCGVK4XkLGdxTOEExshlUybQrztZyFv/xDaHTyCUFGaxxsgzq4AcQJuZKsb2BDocbxv OowJ7SSf+XvtR8lQz2457+omUVETcJhvtuxG9BysEVfpAi+mmVzVSC8k+mmFntpEwBqL94QuLKgDN rVrzeyUmTFoCkQxG52pXU3vlkklScI/9UEq9AVzzzFCVVVxL8nSHmIjRft1UsX5BOI+VMtBDNDuf5 U5FbNbRAPcQl2g==; Date: Sat, 01 Mar 2025 15:47:44 +0200 Message-Id: <867c58q2v3.fsf@gnu.org> From: Eli Zaretskii To: tpeplt@gmail.com In-Reply-To: <87mse8saqg.fsf@gmail.com> (tpeplt@gmail.com) Subject: Re: bug#76595: 29.4; Problem getting RMAIL to detect a change to the value of `rmail-movemail-program'. References: <87o6yosha1.fsf@gmail.com> <86bjuov6vj.fsf@gnu.org> <87mse8saqg.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76595-done Cc: 76595-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Wed, 26 Feb 2025 15:37:59 -0500 > From: > Cc: 76595@debbugs.gnu.org > > > Date: Wed, 26 Feb 2025 21:33:04 +0200 > > From: Eli Zaretskii > > > > > From: > > > > > > Emacs Maintainers, > > > > > > There is a problem with getting Emacs/Rmail to use the > > > Mailutils version of ‘movemail’ if the value of > > > ‘rmail-movemail-program’ is set after Rmail has been > > > started. > > > > To avoid these complications, either customize rmail-movemail-program > > in your init file, so it is already set to the value 'mailutils' when > > you start Rmail, or simply remove the version of 'movemail' that came > > with Emacs, so that the only 'movemail' Rmail can find is that from > > Mailutils. > > > > Thank you for your response. > > Yes, I understand how to resolve the problem (having spent a > considerable amount of time tracking it down while assuming > that I had made numerous mistakes). The reason I sent in > the report is that there is an error in Emacs, either in the > documentation of how to use ‘movemail’ or in the rmail.el > file, depending on what the maintainers want to change. > > The problem as it is now is that the behavior of Emacs and > the requirements for using movemail are not sufficiently > well documented. Either or both could be fixed. If the > code is not going to be changed, then the Emacs manual > should be updated to document that a change to > ‘rmail-movemail-program’ may not take effect until Emacs is > restarted. > > This is necessary so that new users of Rmail do not > encounter the problem that I described in the problem > report. > > A better solution might be to change the manual to say that > M-x rmail [RET] is required after changing > ‘rmail-movemail-program’, and to change (defun rmail ...) to > (re-)initialize ‘rmail-movemail-variant-in-use’ to nil, but > that is a choice for you maintainers. > > Possibly, the following code could be moved into (defun > rmail ...), also: > > ;; Call for effect, to set rmail-movemail-program (if not set by the > ;; user), and rmail-movemail-variant-in-use. Used by various functions. > ;; I'm not sure if M-x rmail is the only entry point to this package. > ;; If so, this can be moved there. > (rmail-movemail-variant-p) Thanks, I decided to document how to customize this variable safely. I'm therefore closing this bug. ------------=_1740836883-5891-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Feb 2025 18:17:01 +0000 Received: from localhost ([127.0.0.1]:55441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tnLxs-0000dF-Ri for submit@debbugs.gnu.org; Wed, 26 Feb 2025 13:17:01 -0500 Received: from lists.gnu.org ([2001:470:142::17]:52668) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tnLxq-0000cp-QZ for submit@debbugs.gnu.org; Wed, 26 Feb 2025 13:16:59 -0500 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 1tnLxb-0006c8-5A for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2025 13:16:43 -0500 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tnLxZ-0007mW-G4 for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2025 13:16:42 -0500 Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-7c08b14baa9so5629685a.3 for ; Wed, 26 Feb 2025 10:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740593800; x=1741198600; darn=gnu.org; h=content-transfer-encoding:mime-version:subject:to:from:message-id :date:from:to:cc:subject:date:message-id:reply-to; bh=RSiFjVj/cPwE+YoZbL/+qeaHtCShmREeZqoHI+nBppk=; b=b0Jcn81gvSxYaWDfHY1WSD8y46BZf0LCC3TsPUdK7xr9lZop9wLc4mg9wCc3uA1kgE Zw2CsLRRkd4eo/YH7tsKlQIklEh7zCIpl5lmYJi1RptIB90Po4X9BAv88RaQrSca401S p53QdgqOC3jZoT5IfywmVy6wGxuPPeykq5W/u9yXQPHLSuY5YJGYeF7GeTgdx50kjnaG boeafx3Gay4Frp3M1hsYT7r4maH9UDR6T07Wni/FFeZr2tLkKYAfLBt9Z2nGh63xX/do NVZHfaKsPVw6e6zkC61BwX0UF4Wmb8FtYtU2DUbi8sYfcHIR9gTX8C2j6F48I+RJatJF CVZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740593800; x=1741198600; h=content-transfer-encoding:mime-version:subject:to:from:message-id :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RSiFjVj/cPwE+YoZbL/+qeaHtCShmREeZqoHI+nBppk=; b=oly4Sx+RQSAf2yimx6uK6IYaAaQRWab7nWofGNxOaZntaMZTr6kOmUD0Bjj+2ShcUv cz2ROWY6bjV2ZvAoI2KFsnRFL8OpmgxvZQ8qXM3ICyiganOKi/zaU+iSB6zX5iegnzaR qQ473505PixkZrcbQtbsagUw7OgaRQnr1kMpVZrfGncr9WpjUMa/stCE8CZZTe66a7Nk +XZ6OkC3Kn6EUciBW4oXeTAmGEGWFyo9lr7q+Gaw14KXInVCGp2mtxK6a+GU8Gn/F8YG 818V05CIvhgoMnOpgy4RmFdrVnf7ksLJsiAkPmNJ6NgHbG002YpwX9cLn65A6GeQuVV/ 7adA== X-Gm-Message-State: AOJu0YxRO6GPa8sASTgOov/s9MgSUNbWXzaRVy/YFnXoAeF4ydyNhn/g qYgMGr23MMaIG3RG9tGlgZvsbXFdkEnN8pg6AtvR/wP7CXarCeplj4FKGA== X-Gm-Gg: ASbGncse/ELNLpZ0by3Wtwy9lRN9ilC3SAoG+8mdfl2UfWlARFCw+GIztDTPdoBPV3q oJ1jEpripKQCEXwTtTSCzId0xyHiw7w0oTlxb1V+YzHxTkQE9OUKw6Q7WMlgkkqniXjMMOcgD36 U9kozBxjO/L7GKgRneJK6GftgVz7diw0cHT9KjTj78zFVGjWvTW7D+lsk9Yl1clN9cIAAV38EQ6 3MzOsGn8MXD/e5Cev7TJiICoPU7ZMDQt9WK8gd9DydnekSjYwHGTfvQdlPHx9py/840DU+JSNQr oRNw9fw/EQgQa7ZvvebfwYKv X-Google-Smtp-Source: AGHT+IEFKP7k80qMJmYs2W7EAn+SuUfF8ZM4852K/dV6T1ujiEvDF9wfsiG0Nl6Wl05GGjpF54OrMQ== X-Received: by 2002:a05:620a:458b:b0:7c0:c214:f25 with SMTP id af79cd13be357-7c23c049547mr1254403185a.56.1740593799768; Wed, 26 Feb 2025 10:16:39 -0800 (PST) Received: from t530.local ([2600:8806:a801:3150:827c:bd8a:44c4:38c6]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7c23c2c0e3esm277640185a.52.2025.02.26.10.16.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 10:16:39 -0800 (PST) Date: Wed, 26 Feb 2025 13:16:38 -0500 Message-Id: <87o6yosha1.fsf@gmail.com> From: To: bug-gnu-emacs@gnu.org Subject: 29.4; Problem getting RMAIL to detect a change to the value of `rmail-movemail-program'. MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=tpeplt@gmail.com; helo=mail-qk1-x731.google.com X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MALFORMED_FREEMAIL=2.161, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.1 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Emacs Maintainers, There is a problem with getting Emacs/Rmail to use the Mailutils version of ‘movemail’ if the value of ‘rmail-movemail-program’ is set after Rmail has been started. - Start Emacs with `emacs -Q'. Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tpeplt[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.2 MALFORMED_FREEMAIL Bad headers on message from free email service X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Emacs Maintainers, There is a problem with getting Emacs/Rmail to use the Mailutils version of ‘movemail’ if the value of ‘rmail-movemail-program’ is set after Rmail has been started. - Start Emacs with `emacs -Q'. Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tpeplt[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.2 MALFORMED_FREEMAIL Bad headers on message from free email service -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Emacs Maintainers, There is a problem with getting Emacs/Rmail to use the Mailutils version of ‘movemail’ if the value of ‘rmail-movemail-program’ is set after Rmail has been started. - Start Emacs with `emacs -Q'. - Verify that the user option `rmail-movemail-program' is set to nil (the default). - Start Rmail: M-x rmail - Check the value of the variable `rmail-movemail-variant-in-use', which is set in the function `rmail-movemail-variant-p': C-h v rmail-movemail-variant-in-use [RET] Confirm that its values is 'emacs. - Quit Rmail: Type 'q' in the RMAIL buffer. - Kill the RMAIL buffer: C-x k RMAIL [RET] - Set the value of the user option `rmail-movemail-program' to the absolute path to the Mailutils `movemail' program. Optionally, set the value of user option `rmail-primary-inbox-list' to a mailbox with the `pops' protocol, that is, "pops://USERNAME:[PASSWORD]@HOSTNAME:[PORT]". - Set a breakpoint in the function `rmail-movemail-variant-p'. - Start Rmail with: M-x rmail [RET] - Stepping through `rmail-movemail-variant-p', note that the value of the variable `rmail-movemail-variant-in-use' is 'emacs. This prevents the function from setting `rmail-movemail-variant-in-use' to 'mailutils. This, in turn, prevents Rmail from using `rmail-movemail-program' to retrieve mail from the location(s) in `rmail-primary-inbox-list'. - Without setting `rmail-movemail-variant-in-use' manually, it is necessary for a user to exit Emacs and restart it, then set the value of `rmail-movemail-program' to the absolute path to the Mailutils `movemail' program *before* starting Rmail. Possibly, the fix for this is to change the code in the function `rmail-movemail-variant-p' to check for a non-nil value for the user option `rmail-movemail-program' (which is done later in the call to the function `rmail-autodetect'). Or, in the function ‘rmail’, code could be added to reset the value of ‘rmail-movemail-variant-in-use’ to nil, and then update the description of what to do when `rmail-movemail-program' is set or changed (that is, re-run ‘rmail’ command). >From (info "(emacs) Movemail"): The variable ‘rmail-movemail-program’ controls which version of ‘movemail’ to use. If that is a string, it specifies the absolute file name of the ‘movemail’ executable. If it is ‘nil’, Rmail searches for ‘movemail’ in the directories listed in ‘rmail-movemail-search-path’, then in ‘exec-path’ (*note Shell::), then in ‘exec-directory’. At a minimum, it seems that this variable should be reset each time the command M-x rmail [RET] is given. This would not affect the run-time behavior of the `g' command (`rmail-get-new-mail') in the RMAIL buffers, but would add to the (re-)start time of RMAIL. -- The lyf so short, the craft so long to lerne. - Geoffrey Chaucer, The Parliament of Birds. ------------=_1740836883-5891-1--