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?

1 Answer 1

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.

4
  • 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 5, 2018 at 9: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 <mailutils.org>, which has a far more featureful movemail.
    – rpluim
    Dec 5, 2018 at 12:32
  • @rpluim that's the one I'm using. and still doesn't work.
    – Bite Bytes
    Dec 6, 2018 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 9, 2018 at 6:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.