Gnus development mailing list
 help / color / mirror / Atom feed
From: Dmitry Yaitskov <dimas@home.com>
Subject: Re: bad (i.e. serious) mail problems
Date: 30 Mar 1999 20:17:07 -0500	[thread overview]
Message-ID: <u7lryjw4s.fsf@home.com> (raw)
In-Reply-To: Stainless Steel Rat's message of "30 Mar 1999 19:30:25 -0500"

Stainless Steel Rat <ratinox@peorth.gweep.net> wrote:

> * Dmitry Yaitskov <dimas@home.com>  on Tue, 30 Mar 1999
<snip>
> | When I retrieve mail via pop3 no mbox needs to be involved at all. Again,
> | pop3 protocol does *not* require "\n\nFrom " lines to be escaped in any
> | way, they do not have any special meaning for it.
> 
> Not entirely true.  If the mail host stores mail in mbox-style spool files,
> and the MTA or delivery agent does not generate Content-Length headers,
> then message body lines that resemble SMTP envelopes should be escaped by
> the MTA or local delivery agent on the mail host.  If that does not happen,
> the POP server or local mail clients could become confused.

Where (rfc#) does it say so? Note, the pop3 server (or rather, 3
different pop servers that I tested) did not become confused. It was
the local mail client (gnus) that got confused.

> The POP retrieveal mechanism cares not a whit about delimiters on the
> server, since the POP server has already done that work.

So?...

> [...]
> | It is the job of whoever builds the mbox to escape things having special
> | meaning for mbox (and for nothing else). So, it is gnus (or rather,
> | pop3-movemail) who screws things up in this case, because it
> | (pop3-movemail) builds an invalid mbox out of perfectly valid separate
> | messages.
> 
> FYI, pop3-movemail (and the rest of the innards of the code) generate a
> crashbox that is identical to the spool file on the server (or as close as
> I can get given a certain university's widely used POP server that has a
> tendency to strip trailing whitespace from messages).  If the mail host
> uses MMDF, an MMDF crashbox is generated.  If the mail host uses Babyl, a
> Babyl crashbox is generated.  If the mail host uses mbox, an mbox crashbox
> is generated.

Could you please explain - how on Earth do you *know* what the "spool
file on the server" (if by the server you mean the machine running the
pop3 you got the mail from) looks like? This info is certainly not
included in the pop3 protocol, is it?

> The only time pop3 generates an mbox-style crashbox is if the mail host
> uses none of these formats and/or the POP server is broken and strips away
> the message delimiters.  Then, and only then, will pop3 generate an SMTP
> envelope style delimiter derrived from RFC 822 headers.  And I have put
> much effort into making sure that the envelope-like delimiter is 100%
> accurate in format.  Look at pop3-munge-message-separator for specifics.
> 
> If after all that Gnus' spool file parsing code still barfs on a particular
> message, it means that the MTA or delivery agent on the mail host failed to
> either generate a Content-Length header or escape the envelope-like line.
> 
> If that is not the case (show us the Content-Length header in that
> message), then you have stumbled onto a Genuine Bug in Gnus.

Thank you. I did stumble upon a bug, that's for sure. Again, just in
case you missed my point. I tried sending and receiving the message
that got FUBAR thru *3* different machines, running in 3 different
organizations. Retrieving that message with pop3-movemail/gnus from 2
of them produced the error, while the third did effectively what my
patch does. Reading that same message directly on those hosts was ok.
Getting that same message from same pop3 hosts with MS outlook express
did *not* produce the error, obviously because it (MSOE) was smart
enough not to assume things about the servers it was getting mail from
it had no way of knowing. Tell me that's not a bug.

-- 
Cheers,
-Dima.



  reply	other threads:[~1999-03-31  1:17 UTC|newest]

Thread overview: 99+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-23 23:50 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                         ` bad (i.e. serious) mail problems - solution, kind of Dmitry Yaitskov
1999-03-29 17:45                           ` 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 [this message]
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=u7lryjw4s.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).