all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* rmail not working in console mode
@ 2016-02-27 14:45 Joe Westlaw
  2016-02-27 21:13 ` Robert Thorpe
  0 siblings, 1 reply; 6+ messages in thread
From: Joe Westlaw @ 2016-02-27 14:45 UTC (permalink / raw)
  To: help-gnu-emacs

I've finally managed to set up email in emacs, either reading or
writing. The problem comes when I try to use emacs in console mode
(tty1). Whenever I try to read mail with M-x rmail, emacs will ask me
for my POP Password (which I guees it's my email password). Once
entered, it will return me the following error:


Getting mail from remote sercer ...
movemail: Error connecting to POP server: -ERR authentication failed
(No new mail has arrived)


Does anybody have a solution?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rmail not working in console mode
  2016-02-27 14:45 rmail not working in console mode Joe Westlaw
@ 2016-02-27 21:13 ` Robert Thorpe
  2016-02-28  2:26   ` Emanuel Berg
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Robert Thorpe @ 2016-02-27 21:13 UTC (permalink / raw)
  To: Joe Westlaw; +Cc: help-gnu-emacs

Joe Westlaw <rzz@gmx.com> writes:

> I've finally managed to set up email in emacs, either reading or
> writing. The problem comes when I try to use emacs in console mode
> (tty1). Whenever I try to read mail with M-x rmail, emacs will ask me
> for my POP Password (which I guees it's my email password). Once
> entered, it will return me the following error:

Just to clarify, are you the guy who has been asking us about Rmail
recently.  Are you cptvlaze@tutamail.com ?

If so, I apologise about the extra parenthesis in that code I quoted.  I
took it from my init file and I deleted a line in-between.

> Getting mail from remote sercer ...
> movemail: Error connecting to POP server: -ERR authentication failed
> (No new mail has arrived)

Are you saying that Rmail works with GUI Emacs but it doesn't work with
console Emacs?  That's strange.  When you're using console Emacs are you
using the root account?  That could cause problems.  Also, are you using
all of your normal init file?

I'm surprised you have to put (require 'smtpmail) I don't have to do
that.

Emmanuel Berg writes:
> For example Rmail stores
> every mail in a single file! This makes it a pain
> doing anything with it with common shell tools. It is
> very un-Unixy which isn't a matter of principle but an
> obstacle dealing with it.

Using Rmail all of your mails go to the inbox file first, which is
called "RMAIL" by default.  That file is in mbox format.  You can split
those mails into other mbox files, either automatically, semi-automatically
or manually.  Any of those other mbox files can be opened in an
Rmail buffer.

The manual way is the "o" command.  The automatic way is
rmail-automatic-folder-directives and the semi-automatic way is
rmail-output-file-alist.  You can read about that in the manual (info
"(emacs) Rmail Output") and in the documentation for those variable
(i.e. C-h v rmail-automatic-folder-directives).

It's true that there are some disadvantages to this method.  I've found
the disadvantages to be more theoretical than practical though.  The
only one that matters is that if you have a large mbox file (say 50MB)
then Emacs becomes faster if you split it up.  For example, I put mail
from this list in their own mbox file and I make a new one of those
every year.

BR,
Robert Thorpe



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rmail not working in console mode
  2016-02-27 21:13 ` Robert Thorpe
@ 2016-02-28  2:26   ` Emanuel Berg
  2016-02-28  8:31   ` Joe Westlaw
  2016-02-28  8:32   ` Joe Westlaw
  2 siblings, 0 replies; 6+ messages in thread
From: Emanuel Berg @ 2016-02-28  2:26 UTC (permalink / raw)
  To: help-gnu-emacs

Robert Thorpe <rt@robertthorpeconsulting.com> writes:

> Just to clarify, are you the guy who has been asking
> us about Rmail recently. Are you
> cptvlaze@tutamail.com ?

I told him to do that so his name (and not e-mail)
would turn up as the poster. Probably that happened
when he switched clients after setting up
`user-full-name'...

> Are you saying that Rmail works with GUI Emacs but
> it doesn't work with console Emacs? That's strange.

Yeah, that shouldn't influence.

> I'm surprised you have to put (require 'smtpmail)
> I don't have to do that.

I told him to do that as well to get
`smtpmail-smtp-service'. If he doesn't need that the
`require' can be removed along with the use/reference
of the variable.

> It's true that there are some disadvantages to this
> method. I've found the disadvantages to be more
> theoretical than practical though. The only one that
> matters is that if you have a large mbox file (say
> 50MB) then Emacs becomes faster if you split it up.
> For example, I put mail from this list in their own
> mbox file and I make a new one of those every year.

There is that disadvantage but there is the bigger
disadvantage that you cannot interact with the
material with the shell tools (or with Emacs).

If you have the mails basically the way they are
written, the headers, the body, and that's it for
a single mail, all doings with the material gets much
easier and faster and in line with how you do things.

-- 
underground experts united
http://user.it.uu.se/~embe8573




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rmail not working in console mode
  2016-02-27 21:13 ` Robert Thorpe
  2016-02-28  2:26   ` Emanuel Berg
@ 2016-02-28  8:31   ` Joe Westlaw
  2016-02-28  8:32   ` Joe Westlaw
  2 siblings, 0 replies; 6+ messages in thread
From: Joe Westlaw @ 2016-02-28  8:31 UTC (permalink / raw)
  To: Robert Thorpe; +Cc: help-gnu-emacs

I've found a stupid solution to the problem: activate Num Lock. Yes, it
sound hillarious, and it is, indeed. I was confused because the Num Lock
LED was on (as it was activated in the GUI). Next time, I'll check it
better. I'm sorry!



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rmail not working in console mode
  2016-02-27 21:13 ` Robert Thorpe
  2016-02-28  2:26   ` Emanuel Berg
  2016-02-28  8:31   ` Joe Westlaw
@ 2016-02-28  8:32   ` Joe Westlaw
  2016-02-28 17:41     ` Robert Thorpe
  2 siblings, 1 reply; 6+ messages in thread
From: Joe Westlaw @ 2016-02-28  8:32 UTC (permalink / raw)
  To: Robert Thorpe; +Cc: help-gnu-emacs

I've found a stupid solution to the problem: activate Num Lock. Yes, it
sound hillarious, and it is, indeed. I was confused because the Num Lock
LED was on (as it was activated in the GUI). Next time, I'll check it
better. I'm sorry!



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rmail not working in console mode
  2016-02-28  8:32   ` Joe Westlaw
@ 2016-02-28 17:41     ` Robert Thorpe
  0 siblings, 0 replies; 6+ messages in thread
From: Robert Thorpe @ 2016-02-28 17:41 UTC (permalink / raw)
  To: Joe Westlaw; +Cc: help-gnu-emacs

Joe Westlaw <rzz@gmx.com> writes:

> I've found a stupid solution to the problem: activate Num Lock. Yes, it
> sound hillarious, and it is, indeed. I was confused because the Num Lock
> LED was on (as it was activated in the GUI). Next time, I'll check it
> better. I'm sorry!

I'm surprised that makes a difference.  I could see how it would if
you're using the commands that have numerical arguments though.

BR,
Robert Thorpe



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-28 17:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-27 14:45 rmail not working in console mode Joe Westlaw
2016-02-27 21:13 ` Robert Thorpe
2016-02-28  2:26   ` Emanuel Berg
2016-02-28  8:31   ` Joe Westlaw
2016-02-28  8:32   ` Joe Westlaw
2016-02-28 17:41     ` Robert Thorpe

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.