unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: hengaini2055@qq.com
Cc: 26102@debbugs.gnu.org
Subject: bug#26102: movemail can't connect mail server
Date: Wed, 15 Mar 2017 17:49:57 +0200	[thread overview]
Message-ID: <83tw6ua6ai.fsf@gnu.org> (raw)
In-Reply-To: <tencent_4805F8F24ECDDAD668988722@qq.com> (hengaini2055@qq.com)

> 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.





  reply	other threads:[~2017-03-15 15:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-15  1:14 bug#26102: movemail can't connect mail server �ž��
2017-03-15 15:49 ` Eli Zaretskii [this message]
2017-03-15 17:30 ` Paul Eggert
2017-03-15 17:48   ` Eli Zaretskii
2017-03-15 18:15     ` Glenn Morris
2017-03-15 18:20       ` Eli Zaretskii
2017-03-15 20:03         ` Noam Postavsky
2017-03-16  3:31           ` Eli Zaretskii
2017-03-15 22:48         ` Paul Eggert
2017-03-16 15:31           ` Eli Zaretskii
2017-03-17  7:23             ` Paul Eggert
2017-03-17  8:58               ` Eli Zaretskii
2017-03-17 10:49               ` Lars Ingebrigtsen
2017-03-17 10:56                 ` Eli Zaretskii
2017-03-16  0:15 ` Glenn Morris
2017-03-16 15:33   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83tw6ua6ai.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=26102@debbugs.gnu.org \
    --cc=hengaini2055@qq.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).