* rmail
@ 2015-02-27 11:29 h.peter.friedrich
2015-02-27 22:16 ` rmail Robert Thorpe
0 siblings, 1 reply; 11+ messages in thread
From: h.peter.friedrich @ 2015-02-27 11:29 UTC (permalink / raw)
To: help-gnu-emacs
hello,
I use rmail with the above email-address, but I want to leave this
provider.
My favorite possible new provider uses the email-address as loginname.
But rmail cannot handle the "@ " inside the name.
I found in the emacswiki that this is a known problem.
Is it solved in the meantime and how can I solve it ?
greetings from Europe.
peter
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: rmail
2015-02-27 11:29 rmail h.peter.friedrich
@ 2015-02-27 22:16 ` Robert Thorpe
2015-03-04 12:25 ` rmail h.peter.friedrich
0 siblings, 1 reply; 11+ messages in thread
From: Robert Thorpe @ 2015-02-27 22:16 UTC (permalink / raw)
To: not-real; +Cc: help-gnu-emacs
"h.peter.friedrich" <not-real@arcor.de> writes:
> hello,
> I use rmail with the above email-address, but I want to leave this
> provider.
> My favorite possible new provider uses the email-address as loginname.
> But rmail cannot handle the "@ " inside the name.
> I found in the emacswiki that this is a known problem.
> Is it solved in the meantime and how can I solve it ?
This is how I do it:
* Fix your email address.
In rmail-primary-inbox-list specify your email address replacing @ with
%40 like this: you%40server.com.
* Use Mailutils Movemail.
It's usually available from a package manager. I don't know if this is
necessary, but it's how I did it.
* Copy.
Copy the function rmail-insert-inbox-text from rmail.el. After you've
fixed it save off this new version of rmail-insert-inbox-text and load
it in your init file.
* Find the bit that says:
;; At this point, TOFILE contains the name to read:
;; Either the alternate name (if we renamed)
;; or the actual inbox (if not renaming).
* Add the fix.
After the comment put in the line:
(setq tofile (url-unhex-string tofile))
The line after that should be (if (file-exists-p tofile).
Here's why that works.... Movemail's command-line has the server
address after the email address. It's like this "movemail
you@imap.server.com". So, if your email address has an @ in it then it
becomes "movemail you@server.com@imap.server.com" which is nonsense.
The movemail people are aware of this problem, so they support using URL
encoding in addresses. So, you can use %40 instead of @ for the first
one, just like in a URL. Emacs doesn't know about any of this. The
problem is that they decode it when creating the mbox filename. So,
Emacs is expecting an mbox file called you%40server.com but it gets one
called you@server.com. The line of code added removes that confusion.
When I get the time I'll contribute it to Emacs. I don't think it's the
right way to totally fix the problem though.
BR,
Robert Thorpe
^ permalink raw reply [flat|nested] 11+ messages in thread
* rmail
@ 2014-08-15 10:28 visaris tds.net
2014-08-15 10:43 ` rmail Eli Zaretskii
2014-08-15 14:06 ` rmail Robert Thorpe
0 siblings, 2 replies; 11+ messages in thread
From: visaris tds.net @ 2014-08-15 10:28 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: visaris tds.net
I now understand that my problems began with exim (my MTA) Hopefully the
exim related problems have been sorted.
It seems my movemail problems have likewise subsided.
M-x rmail now fectches mail from the mailbox /var/spool/mail/visaris which
exim maintains (I don't have to push bits around myself anylonger),
however...
Instead of simply showing me my messages, emacs evidently executes them in
the sense that something automagicly causes a new buffer to appear which
seems to be a reply-to-message buffer with To and From fields filled in
(and I get beeps from the PC speaker).
The above happens only with some messages, which leads me to believe that
something about a particular message causes code to be executed.
Is this a "feature"? How do I tell emacs that it please should refrain
from automagicly executing code on behalf of email messages!!!
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: rmail
2014-08-15 10:28 rmail visaris tds.net
@ 2014-08-15 10:43 ` Eli Zaretskii
2014-08-15 14:06 ` rmail Robert Thorpe
1 sibling, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2014-08-15 10:43 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Fri, 15 Aug 2014 06:28:48 -0400
> From: "visaris tds.net" <visaris@tds.net>
> Cc: "visaris tds.net" <visaris@tds.net>
>
> M-x rmail now fectches mail from the mailbox /var/spool/mail/visaris which
> exim maintains (I don't have to push bits around myself anylonger),
> however...
>
> Instead of simply showing me my messages, emacs evidently executes them in
> the sense that something automagicly causes a new buffer to appear which
> seems to be a reply-to-message buffer with To and From fields filled in
> (and I get beeps from the PC speaker).
>
> The above happens only with some messages, which leads me to believe that
> something about a particular message causes code to be executed.
>
> Is this a "feature"? How do I tell emacs that it please should refrain
> from automagicly executing code on behalf of email messages!!!
Emacs doesn't have such a "feature".
Does this happen in "emacs -Q"? If not, look in your ~/.emacs for
something that causes this.
If this does happen in "emacs -Q", please submit a bug report with a
minimal mbox file (that's the file that movemail fetches from
/var/spool/mail/visaris) that can be used to reproduce the problem.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: rmail
2014-08-15 10:28 rmail visaris tds.net
2014-08-15 10:43 ` rmail Eli Zaretskii
@ 2014-08-15 14:06 ` Robert Thorpe
1 sibling, 0 replies; 11+ messages in thread
From: Robert Thorpe @ 2014-08-15 14:06 UTC (permalink / raw)
To: visaris tds.net; +Cc: help-gnu-emacs, visaris
"visaris tds.net" <visaris@tds.net> writes:
> I now understand that my problems began with exim (my MTA) Hopefully the
> exim related problems have been sorted.
>
> It seems my movemail problems have likewise subsided.
>
> M-x rmail now fectches mail from the mailbox /var/spool/mail/visaris which
> exim maintains (I don't have to push bits around myself anylonger),
> however...
It's best to do it that way. Your old way was clever, but taking stuff
from the input queue probably won't be reliable long-term. Future Exim
versions might change the input queue format.
> Instead of simply showing me my messages, emacs evidently executes them in
> the sense that something automagicly causes a new buffer to appear which
> seems to be a reply-to-message buffer with To and From fields filled in
> (and I get beeps from the PC speaker).
>
> The above happens only with some messages, which leads me to believe that
> something about a particular message causes code to be executed.
>
> Is this a "feature"? How do I tell emacs that it please should refrain
> from automagicly executing code on behalf of email messages!!!
Rmail has never done that to me. Like Eli said I think it's likely to
be something in your init file doing it. Do you have any bits of code
that are from keyboard macros? I.e. code from insert-kbd-macro? It can
do that kind of thing.
BR,
Robert Thorpe
^ permalink raw reply [flat|nested] 11+ messages in thread
* Rmail
@ 2009-05-09 20:22 Marvin
2009-05-11 13:59 ` Rmail hazlup
0 siblings, 1 reply; 11+ messages in thread
From: Marvin @ 2009-05-09 20:22 UTC (permalink / raw)
To: help-gnu-emacs
Hi there,
Does anybody know how to prevent rmail from downloading messages from
server ?
thanks
MMD
^ permalink raw reply [flat|nested] 11+ messages in thread
* rmail
@ 2006-03-22 23:14 op132650c
0 siblings, 0 replies; 11+ messages in thread
From: op132650c @ 2006-03-22 23:14 UTC (permalink / raw)
How do i view attachments with rmail in emacs?
Thanks,
Pedro
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2015-03-04 12:25 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.8.1143069284.14014.help-gnu-emacs@gnu.org>
2006-04-10 17:24 ` rmail Oliver Heidelbach
2006-04-10 21:40 ` rmail ken
2015-02-27 11:29 rmail h.peter.friedrich
2015-02-27 22:16 ` rmail Robert Thorpe
2015-03-04 12:25 ` rmail h.peter.friedrich
-- strict thread matches above, loose matches on Subject: below --
2014-08-15 10:28 rmail visaris tds.net
2014-08-15 10:43 ` rmail Eli Zaretskii
2014-08-15 14:06 ` rmail Robert Thorpe
2009-05-09 20:22 Rmail Marvin
2009-05-11 13:59 ` Rmail hazlup
2006-03-22 23:14 rmail op132650c
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).