From: Dmitry Yaitskov <dimas@home.com>
Subject: Re: bad (i.e. serious) mail problems - solution, kind of
Date: 29 Mar 1999 12:32:46 -0500 [thread overview]
Message-ID: <uww00w69t.fsf_-_@home.com> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "29 Mar 1999 11:45:15 +0200"
Kai.Grossjohann@CS.Uni-Dortmund.DE wrote:
> Dmitry Yaitskov <dimas@home.com> writes:
>
> > One of the messages had that magical sequence (perfectly legal in a
> > mail message I think) - "\n\nFrom".
>
> While "\n\nFrom " (note the space) may appear in a mail message, some
> programs use the Unix mbox format, which says that "From " at the
> beginning of a line is the start of a message, and a message ends in
> an empty line ("\n\n") -- so it is natural that "\n\nFrom " was
> interpreted as the end of one and the beginning of the next message.
>
> The movemail program outputs babyl format when reading from a POP3
> server -- maybe you hacked your movemail or you are using the wrong
> movemail or you are not using movemail at all?
Thanks Kai & Jaap-Henk. Sorry, my ignorance - I did not know about the
special meaning of ^From in mbox format. Still, the problem was real,
and if I understand the situation correctly, it was in pop3-movemail
from pop3.el which I am using as my movemail. I have 2 versions of
pop3.el - 1.3q that comes with pgnus, and 2.03 from the XEmacs'
mail-lib package. Both screw things up. Below is my attempt to fix it,
the patch is against 1.3q. It does "work for me" (tm), but I am not
too sure I put the fix in the right place.
-------------------cut here--------------------
--- pop3.el.old Wed Mar 03 20:38:16 1999
+++ pop3.el Mon Mar 29 12:16:53 1999
@@ -200,6 +200,13 @@
(defun pop3-clean-region (start end)
(setq end (set-marker (make-marker) end))
(save-excursion
;; unix mbox format treats "^From " as message start. Escape it.
+ (goto-char start)
+ (if (re-search-forward "^From " end t)
+ (progn
+ (goto-char (match-beginning 0))
+ (insert ">")))
+ ;;
(goto-char start)
(while (and (< (point) end) (search-forward "\r\n" end t))
(replace-match "\n" t t))
-------------------cut here--------------------
--
Cheers,
-Dima.
next prev parent reply other threads:[~1999-03-29 17:32 UTC|newest]
Thread overview: 99+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-23 23:50 bad (i.e. serious) mail problems Dmitry Yaitskov
1999-02-26 8:32 ` Lars Magne Ingebrigtsen
1999-02-26 13:29 ` Dmitry Yaitskov
1999-02-26 16:44 ` Neil Crellin
1999-02-27 3:24 ` Dmitry Yaitskov
1999-02-27 13:07 ` Lars Magne Ingebrigtsen
1999-02-28 5:19 ` Dmitry Yaitskov
1999-02-28 5:32 ` Dmitry Yaitskov
1999-02-28 12:17 ` Lars Magne Ingebrigtsen
1999-03-01 16:58 ` Shane Holder
1999-03-02 15:08 ` Lars Magne Ingebrigtsen
1999-03-02 16:06 ` Shane Holder
1999-03-04 1:19 ` Lars Magne Ingebrigtsen
1999-03-04 17:10 ` Shane Holder
1999-03-04 20:24 ` Shane Holder
1999-03-04 20:50 ` Harry Putnam
1999-03-04 22:55 ` Shane Holder
1999-03-05 9:21 ` Kai.Grossjohann
1999-03-08 16:12 ` Shane Holder
1999-03-08 17:27 ` Shane Holder
1999-03-19 8:37 ` Simon Michael
1999-03-19 17:38 ` Shane Holder
1999-03-28 15:25 ` Lars Magne Ingebrigtsen
1999-03-28 18:16 ` Dmitry Yaitskov
1999-03-29 9:45 ` Kai.Grossjohann
1999-03-29 17:32 ` Dmitry Yaitskov [this message]
1999-03-29 17:45 ` bad (i.e. serious) mail problems - solution, kind of Dmitry Yaitskov
1999-03-29 20:37 ` Dmitry Yaitskov
1999-03-30 1:05 ` Stainless Steel Rat
1999-03-30 1:59 ` Dmitry Yaitskov
1999-03-30 15:25 ` Stainless Steel Rat
1999-03-30 1:04 ` bad (i.e. serious) mail problems Stainless Steel Rat
1999-03-30 1:56 ` Dmitry Yaitskov
1999-03-30 15:12 ` Stainless Steel Rat
1999-03-30 15:18 ` Kai.Grossjohann
1999-03-30 22:08 ` Stainless Steel Rat
1999-03-31 13:13 ` Kai.Grossjohann
1999-03-31 15:20 ` Stainless Steel Rat
1999-03-31 15:34 ` Kai.Grossjohann
1999-03-30 17:10 ` Dmitry Yaitskov
1999-03-31 0:30 ` Stainless Steel Rat
1999-03-31 1:17 ` Dmitry Yaitskov
1999-03-31 1:32 ` Stainless Steel Rat
1999-03-31 3:06 ` Dmitry Yaitskov
1999-03-31 15:34 ` Stainless Steel Rat
1999-03-31 15:47 ` Kai.Grossjohann
1999-03-31 3:23 ` Greg Stark
1999-03-31 3:37 ` Dmitry Yaitskov
1999-03-31 15:36 ` Stainless Steel Rat
1999-03-31 16:39 ` Dmitry Yaitskov
1999-03-31 12:35 ` Kai.Grossjohann
1999-03-31 14:47 ` Frank D. Cringle
1999-04-01 2:05 ` Russ Allbery
1999-03-31 15:11 ` Stainless Steel Rat
1999-03-31 15:36 ` Kai.Grossjohann
1999-03-31 20:29 ` Stainless Steel Rat
1999-04-01 9:06 ` Kai.Grossjohann
1999-03-31 16:21 ` Christopher K Davis
1999-03-31 20:35 ` Stainless Steel Rat
1999-03-31 21:24 ` Christopher K Davis
1999-04-01 1:07 ` Stainless Steel Rat
1999-04-01 3:27 ` Christopher K Davis
1999-04-01 9:03 ` Kai.Grossjohann
1999-04-01 9:23 ` Kai.Grossjohann
1999-04-01 22:06 ` Stainless Steel Rat
1999-04-02 6:54 ` Hans de Graaff
1999-04-02 10:18 ` Kai.Grossjohann
1999-04-02 17:51 ` Stainless Steel Rat
[not found] ` <99Apr2.124830est.13869-2@gateway.inters! ys.com>
1999-04-03 10:04 ` Kai.Grossjohann
1999-04-03 13:37 ` Stainless Steel Rat
1999-04-17 5:58 ` Lars Magne Ingebrigtsen
1999-04-02 13:39 ` Lars Magne Ingebrigtsen
1999-03-31 9:59 ` Kai.Grossjohann
1999-03-30 18:31 ` Dmitry Yaitskov
1999-03-31 0:31 ` Stainless Steel Rat
1999-03-31 1:19 ` Dmitry Yaitskov
1999-03-30 9:55 ` Kai.Grossjohann
1999-03-30 15:20 ` Stainless Steel Rat
1999-03-30 15:34 ` Kai.Grossjohann
1999-03-31 0:12 ` Stainless Steel Rat
1999-03-31 13:13 ` Kai.Grossjohann
1999-03-31 15:15 ` Stainless Steel Rat
1999-03-31 15:32 ` Kai.Grossjohann
1999-03-31 15:47 ` Stainless Steel Rat
1999-03-31 16:19 ` Kai.Grossjohann
1999-03-31 20:36 ` Stainless Steel Rat
1999-04-01 2:15 ` Russ Allbery
1999-04-01 8:59 ` Kai.Grossjohann
1999-03-31 16:24 ` Dmitry Yaitskov
1999-03-29 16:48 ` Shane Holder
1999-04-02 13:33 ` Lars Magne Ingebrigtsen
1999-03-09 20:11 ` Shane Holder
1999-03-09 20:47 ` bad (i.e. serious) mail problems (POSSIBLE culprit found) Shane Holder
1999-03-15 15:31 ` Shane Holder
1999-03-28 15:04 ` Lars Magne Ingebrigtsen
1999-03-09 21:54 ` bad (i.e. serious) mail problems Harry Putnam
1999-03-12 22:48 ` Shane Holder
1999-03-12 23:19 ` Kai.Grossjohann
1999-03-13 0:28 ` Shane Holder
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uww00w69t.fsf_-_@home.com \
--to=dimas@home.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.
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 NNTP newsgroup(s).