From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#26102: movemail can't connect mail server Date: Wed, 15 Mar 2017 17:49:57 +0200 Message-ID: <83tw6ua6ai.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1489593083 2691 195.159.176.226 (15 Mar 2017 15:51:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 15 Mar 2017 15:51:23 +0000 (UTC) Cc: 26102@debbugs.gnu.org To: hengaini2055@qq.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 15 16:51:18 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coBCe-0007iX-R4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Mar 2017 16:51:08 +0100 Original-Received: from localhost ([::1]:38095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coBCk-0006hg-TP for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Mar 2017 11:51:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coBCc-0006gL-0D for bug-gnu-emacs@gnu.org; Wed, 15 Mar 2017 11:51:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coBCY-00010y-Ty for bug-gnu-emacs@gnu.org; Wed, 15 Mar 2017 11:51:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59176) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1coBCY-00010l-Q3 for bug-gnu-emacs@gnu.org; Wed, 15 Mar 2017 11:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1coBCY-0007Kz-Ft for bug-gnu-emacs@gnu.org; Wed, 15 Mar 2017 11:51: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: Wed, 15 Mar 2017 15:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26102 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26102-submit@debbugs.gnu.org id=B26102.148959304028172 (code B ref 26102); Wed, 15 Mar 2017 15:51:02 +0000 Original-Received: (at 26102) by debbugs.gnu.org; 15 Mar 2017 15:50:40 +0000 Original-Received: from localhost ([127.0.0.1]:57375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coBCC-0007KK-3V for submit@debbugs.gnu.org; Wed, 15 Mar 2017 11:50:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coBC9-0007K6-WC for 26102@debbugs.gnu.org; Wed, 15 Mar 2017 11:50:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coBC1-0000n0-GV for 26102@debbugs.gnu.org; Wed, 15 Mar 2017 11:50:32 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coBC1-0000mv-D2; Wed, 15 Mar 2017 11:50:29 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1260 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1coBBz-00016C-TA; Wed, 15 Mar 2017 11:50:29 -0400 In-reply-to: (hengaini2055@qq.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:130618 Archived-At: > From: hengaini2055@qq.com > Date: Wed, 15 Mar 2017 09:14:19 +0800 > > I can't receive mail using rmail. When I use the command(movemail -p > "pop://hengaini:password@pop.qq.com:995"), I get the following errors: > > > d:\emacs-25.1\libexec\emacs\25.1\x86_64-w64-mingw32>movemail -p > 'pop://hengaini2055@163.177.72.198:995' Test.mbox 'password' > > movemail -p 'pop://hengaini2055@163.177.72.198:995' Test.mbox 'password' > > movemail: Invalid argument for 'pop://hengaini2055@163.177.72.198:995' > > Is this a bug? No, I don't think it's a bug. But you expect some features that aren't supported by movemail. First, movemail that comes with Emacs doesn't accept pop:// "URLs", it only accepts the form po:USERNAME:HOSTNAME, so you need to invoke it like this: movemail -p po:hengaini2055:163.177.72.198:995 Test.mbox password Second, Windows doesn't support '..' style of quoting, you need to use the ".." style instead. And third, movemail that comes with Emacs doesn't support the ":port" part of the POP inbox (":995" in your case). I'm guessing that you are using port 995 because your POP server requires SSL/TLS connections, in which case that's another problem: movemail that comes with Emacs doesn't support such connections. So you need first find a version of movemail from GNU Mailutils, which can support all those missing features. Then you need to configure Rmail with the name of your POP mailbox, so that Rmail will invoke movemail correctly. And then it will work.