Russell Nelson writes...
>Aaron Nabil writes:
> > Robin Bowes writes...
> > >I'm seeing the above error message in the log for my MS Mail gateway
> > >(MailBeamer), but only for 1 particular message.
> > >
> > > . . .
> > >I've looked at Dan's explanation of the problem and I am aware of the
> > >SMTP LF issue.  My problem is why should this error occur just for 1
> > >message?  I mean, if *every* message had the same problem, I could
> > >understand it and would put it down to a broken program, but for just 1
> > >message to cause the error?  Seems strange to me...
> > 
> > The problem is Qmail.
> > 
> > The message in question had a "bare LF" in it, perfectly legal, but 
> > qmail barfs on them.  I just posted a message describing the 
> > phenomena in more detail.
>
>Aaron, how would you store the following one-line message sequence of
>characters received by a DATA command into a Unix mailbox without
>losing information?  Nevermind which MTA is doing it -- just tell me
>what you think the Unix mailbox would look like at the end of the process.
>
>"<headers><CR><LF>beginning of line 1<LF>more of line 1<CR><LF>".

I love puzzles!

But I'm not sure what you mean by "one line", other than you typed it
on one line.

So just to make sure we are talking about the same thing...

DATA
<headers><CR><LF>
beginning of line 1<LF>more of line 1<CR><LF>
.<CR><LF>

right?

Well, the easy one first.  If the message was sent as a normal RFC-822
only message, I'd expect the unix mailbox to contain... 

<headers>\n
beginning of line 1\n
more of line 1\n

since RFC-822 anticipates local newline conversions.

whereas if it were a MIME message sent with 8BITMIME, I'd expect something
like...

<headers>\r\n
beginning of line 1\n
more of line 1\r\n

I guess if this is really important, we could try feeding such a message
to sendmail with 8BITMIME and see what it does.  

But I'm not sure I see where this is going.  Qmail would never deliver 
such a message, it would barf.  The case you are also stating in specifically
one of delivery, where local newline standards come into play.  What about
the case of transport?



-- 
Aaron Nabil

Reply via email to