From unknown Thu Jun 19 14:06:58 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18278 <18278@debbugs.gnu.org> To: bug#18278 <18278@debbugs.gnu.org> Subject: Status: [PATCH] bug#18130: rmail.el: handle imaps, pops, and local source mailboxes (maildir, MH, etc.) Reply-To: bug#18278 <18278@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:06:58 +0000 retitle 18278 [PATCH] bug#18130: rmail.el: handle imaps, pops, and local so= urce mailboxes (maildir, MH, etc.) reassign 18278 emacs submitter 18278 Sergey Poznyakoff severity 18278 normal tag 18278 confirmed patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 16 13:39:31 2014 Received: (at submit) by debbugs.gnu.org; 16 Aug 2014 17:39:31 +0000 Received: from localhost ([127.0.0.1]:44717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XIhwv-0004QG-Vf for submit@debbugs.gnu.org; Sat, 16 Aug 2014 13:39:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45196) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XIddu-0004mI-EH for submit@debbugs.gnu.org; Sat, 16 Aug 2014 09:03:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XIddj-0007gE-JI for submit@debbugs.gnu.org; Sat, 16 Aug 2014 09:03:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIddj-0007g7-Fz for submit@debbugs.gnu.org; Sat, 16 Aug 2014 09:03:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIddd-000680-NM for bug-gnu-emacs@gnu.org; Sat, 16 Aug 2014 09:03:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XIddX-0007cd-Vf for bug-gnu-emacs@gnu.org; Sat, 16 Aug 2014 09:03:17 -0400 Received: from ulysses.gnu.org.ua ([193.186.15.43]:56189 helo=gnu.org.ua) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIddN-0007Um-NX; Sat, 16 Aug 2014 09:03:02 -0400 X-Mailutils-Message-Id: s7GCrOZv014388 Organization: GNU.org.ua Received: from gnu.org.ua (localhost [127.0.0.1]) by ulysses.gnu.org.ua with ESMTP id s7GCrOZv014388; Sat, 16 Aug 2014 15:53:24 +0300 Message-ID: <20140816155324.14384@ulysses.gnu.org.ua> Date: Sat, 16 Aug 2014 15:53:24 +0300 From: Sergey Poznyakoff To: Subject: [PATCH] bug#18130: rmail.el: handle imaps, pops, and local source mailboxes (maildir, MH, etc.) X-Mailer: MH-E 8.3.1; GNU Mailutils 2.99.98; GNU Emacs 24.2.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 16 Aug 2014 13:39:28 -0400 Cc: Carlos Pita , bug-mailutils@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) Hello, When used with GNU Mailutils movemail, rmail handles only imap and pop mailboxes[1]. However, the Mailutils movemail supports a much wider set of mailbox formats (both remote and local). This patch makes rmail.el fully use the flexibility of GNU Mailutils. In particular, it makes it possible to use imaps and pops encrypted protocols. The patch is against the current Emacs trunk. The bug has been reported by Carlos Pita to both GNU Emacs[2] and Mailutuls[3]. [1] http://lists.gnu.org/archive/html/bug-mailutils/2014-07/msg00008.html. [2] http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-07/msg00867.html http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-07/msg00869.html [3] http://lists.gnu.org/archive/html/bug-mailutils/2014-08/msg00000.html. * lisp/mail/rmail.el (rmail-remote-proto-p): New function. (rmail-parse-url): Return actual proto in the 2nd list element instead of the mere t. All callers updated. Do not require password unless the argument refers to a remote mailbox. (rmail-insert-inbox-text): Select a proper message depending on whether source mailbox is a remote one or not. Hanlde non-plainfile local source mailboxes (maildir, MH, etc.) --- lisp/mail/rmail.el | 58 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index f769204..a3d6343 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -1869,13 +1869,16 @@ not be a new one). It returns non-nil if it got any new messages." (setq result (> new-messages 0)) result)))) +(defun rmail-remote-proto-p (proto) + (string-match "^\\(\\(imap\\|pop\\)s?\\)$" proto)) + (defun rmail-parse-url (file) - "Parse the supplied URL. Return (list MAILBOX-NAME REMOTE PASSWORD GOT-PASSWORD) + "Parse the supplied URL. Return (list MAILBOX-NAME PROTO PASSWORD GOT-PASSWORD) WHERE MAILBOX-NAME is the name of the mailbox suitable as argument to the -actual version of `movemail', REMOTE is non-nil if MAILBOX-NAME refers to -a remote mailbox, PASSWORD is the password if it should be -supplied as a separate argument to `movemail' or nil otherwise, GOT-PASSWORD -is non-nil if the user has supplied the password interactively. +actual version of `movemail', PROTO is the protocol (use rmail-remote-proto-p +to see if it refers to a remote mailbox), PASSWORD is the password if it +should be supplied as a separate argument to `movemail' or nil otherwise, +GOT-PASSWORD is non-nil if the user has supplied the password interactively. " (cond ((string-match "^\\([^:]+\\)://\\(\\([^:@]+\\)\\(:\\([^@]+\\)\\)?@\\)?.*" file) @@ -1886,24 +1889,26 @@ is non-nil if the user has supplied the password interactively. (host (substring file (or (match-end 2) (+ 3 (match-end 1)))))) - (if (not pass) - (when rmail-remote-password-required - (setq got-password (not (rmail-have-password))) - (setq supplied-password (rmail-get-remote-password - (string-equal proto "imap")))) - ;; The password is embedded. Strip it out since movemail - ;; does not really like it, in spite of the movemail spec. - (setq file (concat proto "://" user "@" host))) + (if (rmail-remote-proto-p proto) + (if (not pass) + (when rmail-remote-password-required + (setq got-password (not (rmail-have-password))) + (setq supplied-password (rmail-get-remote-password + (string-match "imaps?" proto)))) + ;; FIXME + ;; The password is embedded. Strip it out since movemail + ;; does not really like it, in spite of the movemail spec. + (setq file (concat proto "://" user "@" host)))) (if (rmail-movemail-variant-p 'emacs) (if (string-equal proto "pop") (list (concat "po:" user ":" host) - t + proto (or pass supplied-password) got-password) (error "Emacs movemail does not support %s protocol" proto)) (list file - (or (string-equal proto "pop") (string-equal proto "imap")) + proto (or supplied-password pass) got-password)))) @@ -1971,18 +1976,18 @@ Value is the size of the newly read mail after conversion." (or (memq (file-locked-p buffer-file-name) '(nil t)) (error "RMAIL file %s is locked" (file-name-nondirectory buffer-file-name))) - (let (file tofile delete-files movemail popmail got-password password) + (let (file tofile delete-files movemail proto got-password password) (while files ;; Handle remote mailbox names specially; don't expand as filenames ;; in case the userid contains a directory separator. (setq file (car files)) (let ((url-data (rmail-parse-url file))) (setq file (nth 0 url-data)) - (setq popmail (nth 1 url-data)) + (setq proto (nth 1 url-data)) (setq password (nth 2 url-data)) (setq got-password (nth 3 url-data))) - (if popmail + (if proto (setq renamep t) (setq file (file-truename (substitute-in-file-name (expand-file-name file))))) @@ -2003,14 +2008,16 @@ Value is the size of the newly read mail after conversion." (expand-file-name buffer-file-name)))) ;; Always use movemail to rename the file, ;; since there can be mailboxes in various directories. - (when (not popmail) + (when (not proto) ;; On some systems, /usr/spool/mail/foo is a directory ;; and the actual inbox is /usr/spool/mail/foo/foo. (if (file-directory-p file) (setq file (expand-file-name (user-login-name) file)))) - (cond (popmail - (message "Getting mail from the remote server ...")) + (cond (proto + (message (if (rmail-remote-proto-p proto) + "Getting mail from the remote server ..." + (concat "Getting mail from " proto)))) ((and (file-exists-p tofile) (/= 0 (nth 7 (file-attributes tofile)))) (message "Getting mail from %s..." tofile)) @@ -2021,7 +2028,7 @@ Value is the size of the newly read mail after conversion." ;; rename or copy the file FILE to TOFILE if and as appropriate. (cond ((not renamep) (setq tofile file)) - ((or (file-exists-p tofile) (and (not popmail) + ((or (file-exists-p tofile) (and (not proto) (not (file-exists-p file)))) nil) (t @@ -2056,9 +2063,10 @@ Value is the size of the newly read mail after conversion." ;; If we just read the password, most likely it is ;; wrong. Otherwise, see if there is a specific ;; reason to think that the problem is a wrong passwd. - (if (or got-password - (re-search-forward rmail-remote-password-error - nil t)) + (if (and (rmail-remote-proto-p proto) + (or got-password + (re-search-forward rmail-remote-password-error + nil t))) (rmail-set-remote-password nil)) ;; If using Mailutils, remove initial error code -- 1.7.12.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 16 13:46:08 2014 Received: (at control) by debbugs.gnu.org; 16 Aug 2014 17:46:08 +0000 Received: from localhost ([127.0.0.1]:44782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XIi3L-0004ee-6w for submit@debbugs.gnu.org; Sat, 16 Aug 2014 13:46:07 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37724 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XIi3I-0004eV-8V for control@debbugs.gnu.org; Sat, 16 Aug 2014 13:46:04 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XIi3H-0000f9-U7 for control@debbugs.gnu.org; Sat, 16 Aug 2014 13:46:04 -0400 Date: Sat, 16 Aug 2014 13:46:03 -0400 Message-Id: Subject: control message for bug 18130 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) merge 18278 18130 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 08 09:00:30 2014 Received: (at 18278) by debbugs.gnu.org; 8 Sep 2014 13:00:30 +0000 Received: from localhost ([127.0.0.1]:33377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XQyYX-0002kg-KP for submit@debbugs.gnu.org; Mon, 08 Sep 2014 09:00:30 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:34819) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XQyYU-0002kX-8W for 18278@debbugs.gnu.org; Mon, 08 Sep 2014 09:00:27 -0400 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s88D0NkK008888; Mon, 8 Sep 2014 09:00:23 -0400 Received: by pastel.home (Postfix, from userid 20848) id E92D660BF3; Mon, 8 Sep 2014 09:00:22 -0400 (EDT) From: Stefan Monnier To: Sergey Poznyakoff Subject: Re: bug#18278: [PATCH] bug#18130: rmail.el: handle imaps, pops, and local source mailboxes (maildir, MH, etc.) Message-ID: References: <20140816155324.14384@ulysses.gnu.org.ua> Date: Mon, 08 Sep 2014 09:00:22 -0400 In-Reply-To: <20140816155324.14384@ulysses.gnu.org.ua> (Sergey Poznyakoff's message of "Sat, 16 Aug 2014 15:53:24 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5058=0 X-NAI-Spam-Version: 2.3.0.9378 : core <5058> : inlines <1260> : streams <1284492> : uri <1811672> X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 18278 Cc: Carlos Pita , bug-mailutils@gnu.org, 18278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.8 (---) [ Thanks Carlos for pinging us about it. ] > set of mailbox formats (both remote and local). This patch makes > rmail.el fully use the flexibility of GNU Mailutils. In particular, > it makes it possible to use imaps and pops encrypted protocols. The > patch is against the current Emacs trunk. The bug has been reported by > Carlos Pita to both GNU Emacs[2] and Mailutuls[3]. Thank you Sergey, The patch looks OK for me, but as I'm not familiar with Rmail, I'd like to have the opinion of someone else. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 09 09:19:42 2014 Received: (at 18278) by debbugs.gnu.org; 9 Sep 2014 13:19:42 +0000 Received: from localhost ([127.0.0.1]:34563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRLKf-0001oS-KK for submit@debbugs.gnu.org; Tue, 09 Sep 2014 09:19:41 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:47704) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRLKc-0001oC-TD for 18278@debbugs.gnu.org; Tue, 09 Sep 2014 09:19:39 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NBM00L00Y34A800@a-mtaout21.012.net.il> for 18278@debbugs.gnu.org; Tue, 09 Sep 2014 16:19:32 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NBM00LL9YCIAK00@a-mtaout21.012.net.il>; Tue, 09 Sep 2014 16:19:30 +0300 (IDT) Date: Tue, 09 Sep 2014 16:19:40 +0300 From: Eli Zaretskii Subject: Re: bug#18278: [PATCH] bug#18130: rmail.el: handle imaps, pops, and local source mailboxes (maildir, MH, etc.) In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83k35daq37.fsf@gnu.org> References: <20140816155324.14384@ulysses.gnu.org.ua> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18278 Cc: gray@gnu.org, carlosjosepita@gmail.com, bug-mailutils@gnu.org, 18278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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.0 (+) > From: Stefan Monnier > Date: Mon, 08 Sep 2014 09:00:22 -0400 > Cc: Carlos Pita , bug-mailutils@gnu.org, > 18278@debbugs.gnu.org > > [ Thanks Carlos for pinging us about it. ] > > > set of mailbox formats (both remote and local). This patch makes > > rmail.el fully use the flexibility of GNU Mailutils. In particular, > > it makes it possible to use imaps and pops encrypted protocols. The > > patch is against the current Emacs trunk. The bug has been reported by > > Carlos Pita to both GNU Emacs[2] and Mailutuls[3]. > > Thank you Sergey, > > The patch looks OK for me, but as I'm not familiar with Rmail, I'd like > to have the opinion of someone else. I do use Rmail, but not movemail from Mailutils, and not for imap and other modern protocols. So the only issue that bothers me here is: would the new code still work with the old movemail, and how does the code detect whether it invokes old or new one? If this change is 100% backwards compatible, I see no reasons not to install it. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 09 11:30:45 2014 Received: (at 18278) by debbugs.gnu.org; 9 Sep 2014 15:30:45 +0000 Received: from localhost ([127.0.0.1]:35497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRNNU-0005Tx-Re for submit@debbugs.gnu.org; Tue, 09 Sep 2014 11:30:45 -0400 Received: from mail-ig0-f172.google.com ([209.85.213.172]:34358) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRNNR-0005Te-Ko for 18278@debbugs.gnu.org; Tue, 09 Sep 2014 11:30:43 -0400 Received: by mail-ig0-f172.google.com with SMTP id h15so4796875igd.17 for <18278@debbugs.gnu.org>; Tue, 09 Sep 2014 08:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=RTOtXzm7BER0xzQM6vFY4GM9s8ld1UJp0XRv9SkvVBg=; b=UiQsM3gclb0e5dPE3SDhoGmU05aFlY8S9sVeGb7SaXtqIDTV+Aa1C3uM1IFAW0wKTM TsyjS3DmZp6Gt2YOUFcLe+COnDjwckhmPFquyoGkj5HneBZ+S3BRCFNwcOYkjH0352lQ 1u6/92zWn/AhvD2WyI5ddcCMr78oXY89Y0MYEG5yK5tLvg1iuxN9PwdWcrLIvnD+i3E1 yuZe6vyMkL5CPUTaHRN9xPxVl8RJjN47X8ejB6CmFlaLze0B8mVOHCjEPXZZTg9I5P4P iWGQy9Ga7M4g5h35dyL/9CuYGFqrNhCFBebZspLDriYpicfOa2+PYa0H6kam7fP5BnrG Y1+A== X-Received: by 10.50.79.132 with SMTP id j4mr33175755igx.9.1410276633320; Tue, 09 Sep 2014 08:30:33 -0700 (PDT) Received: from carlos ([190.216.58.35]) by mx.google.com with ESMTPSA id cz10sm14179264igc.5.2014.09.09.08.30.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Sep 2014 08:30:32 -0700 (PDT) From: Carlos Pita To: Eli Zaretskii Subject: Re: bug#18278: [PATCH] bug#18130: rmail.el: handle imaps, pops, and local source mailboxes (maildir, MH, etc.) References: <20140816155324.14384@ulysses.gnu.org.ua> <83k35daq37.fsf@gnu.org> Date: Tue, 09 Sep 2014 12:46:08 -0300 In-Reply-To: <83k35daq37.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 09 Sep 2014 16:19:40 +0300") Message-ID: <82sik07q67.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18278 Cc: gray@gnu.org, bug-mailutils@gnu.org, Stefan Monnier , 18278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -0.7 (/) Hi Eli, > So the only issue that bothers me here is: would the new code still > work with the old movemail, and how does the code detect whether it > invokes old or new one? please take into account that this is mainly a bug fix (see bug report #18130, which originated this new report and corresponding patch). It's not an improvement on or an enhancement of the "old movemail". Currently the emacs documentation on rmail states that it must work with the external movemail and that it must support additional protocols (by using this external tool). But both assertions are currently false. The rmail code already supports both movemail backends, indeed, but the support for the mailutils one is mostly broken. Cheers -- Carlos From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 09 11:51:56 2014 Received: (at 18278) by debbugs.gnu.org; 9 Sep 2014 15:51:56 +0000 Received: from localhost ([127.0.0.1]:35542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRNhz-000662-Ho for submit@debbugs.gnu.org; Tue, 09 Sep 2014 11:51:55 -0400 Received: from mtaout25.012.net.il ([80.179.55.181]:55645) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRNhw-00065k-WE for 18278@debbugs.gnu.org; Tue, 09 Sep 2014 11:51:54 -0400 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NBN00A004WNR400@mtaout25.012.net.il> for 18278@debbugs.gnu.org; Tue, 09 Sep 2014 18:46:14 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NBN004VN5518B70@mtaout25.012.net.il>; Tue, 09 Sep 2014 18:46:14 +0300 (IDT) Date: Tue, 09 Sep 2014 18:51:56 +0300 From: Eli Zaretskii Subject: Re: bug#18278: [PATCH] bug#18130: rmail.el: handle imaps, pops, and local source mailboxes (maildir, MH, etc.) In-reply-to: <82sik07q67.fsf@gmail.com> X-012-Sender: halo1@inter.net.il To: Carlos Pita Message-id: <83sik0aj1f.fsf@gnu.org> References: <20140816155324.14384@ulysses.gnu.org.ua> <83k35daq37.fsf@gnu.org> <82sik07q67.fsf@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 18278 Cc: gray@gnu.org, bug-mailutils@gnu.org, monnier@IRO.UMontreal.CA, 18278@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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.0 (+) > From: Carlos Pita > Cc: Stefan Monnier , gray@gnu.org, bug-mailutils@gnu.org, 18278@debbugs.gnu.org > Date: Tue, 09 Sep 2014 12:46:08 -0300 > > > So the only issue that bothers me here is: would the new code still > > work with the old movemail, and how does the code detect whether it > > invokes old or new one? > > please take into account that this is mainly a bug fix (see bug report > #18130, which originated this new report and corresponding patch). It's > not an improvement on or an enhancement of the "old movemail". Currently > the emacs documentation on rmail states that it must work with the > external movemail and that it must support additional protocols (by > using this external tool). But both assertions are currently false. The > rmail code already supports both movemail backends, indeed, but the > support for the mailutils one is mostly broken. Yes, I understand all that (I've read the patch). But I don't think a bugfix necessarily avoids the danger of breaking backwards compatibility, which is why I asked. I think my question still stands. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 08 21:07:02 2017 Received: (at control) by debbugs.gnu.org; 9 Apr 2017 01:07:03 +0000 Received: from localhost ([127.0.0.1]:38627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cx1Jm-0004VU-Q7 for submit@debbugs.gnu.org; Sat, 08 Apr 2017 21:07:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cx1Jl-0004V0-W2 for control@debbugs.gnu.org; Sat, 08 Apr 2017 21:07:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cx1Jg-0004l1-1Q for control@debbugs.gnu.org; Sat, 08 Apr 2017 21:06:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cx1Jf-0004kx-VA for control@debbugs.gnu.org; Sat, 08 Apr 2017 21:06:55 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cx1Je-0008JC-Qa for control@debbugs.gnu.org; Sat, 08 Apr 2017 21:06:54 -0400 Subject: control message for bug 26376 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sat, 08 Apr 2017 21:06:54 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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: -5.0 (-----) merge 18278 26376 tag 26376 confirmed From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 08 21:44:22 2017 Received: (at 18278) by debbugs.gnu.org; 9 Apr 2017 01:44:22 +0000 Received: from localhost ([127.0.0.1]:38664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cx1tu-0007AU-LP for submit@debbugs.gnu.org; Sat, 08 Apr 2017 21:44:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cx1tt-0007AF-5h for 18278@debbugs.gnu.org; Sat, 08 Apr 2017 21:44:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cx1tn-0005yY-8z for 18278@debbugs.gnu.org; Sat, 08 Apr 2017 21:44:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cx1tn-0005yN-6t; Sat, 08 Apr 2017 21:44:15 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cx1tl-0002Gj-0T; Sat, 08 Apr 2017 21:44:13 -0400 From: Glenn Morris To: Sergey Poznyakoff Subject: Re: bug#18278: [PATCH] bug#18130: rmail.el: handle imaps, pops, and local source mailboxes (maildir, MH, etc.) References: <20140816155324.14384@ulysses.gnu.org.ua> X-Spook: $400 million in gold bullion AUTODIN Ermes USCODE Nogales X-Ran: (z*hEG>Y+z*m|c,Z\1=C33V(9[6GoT9$.#QaQ(K%J>@@LH!W52~Js;NVJMUq:p\-@;_|*M X-Hue: blue X-Attribution: GM Date: Sat, 08 Apr 2017 21:44:12 -0400 In-Reply-To: <20140816155324.14384@ulysses.gnu.org.ua> (Sergey Poznyakoff's message of "Sat, 16 Aug 2014 15:53:24 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 18278 Cc: Carlos Pita , 18278@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: -5.0 (-----) Thank you for the patch. I am sorry it was forgotten about. Finally applied as 48536f6. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 08 21:44:37 2017 Received: (at control) by debbugs.gnu.org; 9 Apr 2017 01:44:37 +0000 Received: from localhost ([127.0.0.1]:38667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cx1u8-0007Az-UO for submit@debbugs.gnu.org; Sat, 08 Apr 2017 21:44:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cx1u7-0007An-SS for control@debbugs.gnu.org; Sat, 08 Apr 2017 21:44:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cx1u2-00064Y-3t for control@debbugs.gnu.org; Sat, 08 Apr 2017 21:44:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cx1u2-00064U-0H for control@debbugs.gnu.org; Sat, 08 Apr 2017 21:44:30 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cx1u1-0002Ik-LN for control@debbugs.gnu.org; Sat, 08 Apr 2017 21:44:29 -0400 Subject: control message for bug 18278 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sat, 08 Apr 2017 21:44:29 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control 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: -5.0 (-----) # 48536f6 close 18278 26.1 From unknown Thu Jun 19 14:06:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 07 May 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator