1

When I try to connect to my gmail account [email protected] (password: foopassword), using the following setting:

(setq rmail-primary-inbox-list '("pop://foo:[email protected]:995"))

I get the following error:

movemail: mailbox `pop://[email protected]:995': cannot open: Name or service not known

And when I set the variable like this:

(setq rmail-primary-inbox-list '("pop://[email protected]:[email protected]:995"))

I get the following:

movemail: mailbox `pop://[email protected]:995': cannot open: Name or service not known

So what do I need to connect to read my gmail messages using Rmail?

Bite Bytes
  • 291
  • 1
  • 8

1 Answers1

1

"Name or service not known" always means that a program tried to open a network connection, but the address of the destination is incorrect (it couldn't be resolved using DNS). Look in your email provider's help files or tech support for the correct address.

db48x
  • 17,977
  • 1
  • 22
  • 28
  • How would you connect to your email using Rmail, give me an example if you can please. Doesn't have to be gmail, any free mail server would do. – Bite Bytes Dec 05 '18 at 09:24
  • Which version of emacs? The movemail shipped with Emacs 26.1 does not enable pop by default. The easiest solution is probably to install Gnu Mailutils https://mailutils.org, which has a far more featureful movemail. – rpluim Dec 05 '18 at 12:32
  • @rpluim that's the one I'm using. and still doesn't work. – Bite Bytes Dec 06 '18 at 13:46
  • 1
    You're doing it right, but you have the wrong address. I don't know what address gmail uses, but "pop.gmail.com" is obviously the wrong one. – db48x Dec 09 '18 at 06:57