james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serge Knystautas" <ser...@lokitech.com>
Subject Re: We have some questions about James ?
Date Thu, 02 Aug 2001 11:31:03 GMT
I agree completely about 8BIT ESMTP commands and how messages can have 8bit
data.  But, this is 8-bit MIME content, not headers.

Check RFC 2047 (MIME Part Three: Message Header Extensions for Non-ASCII
Text), page 2:

"A mail composer that implements this specification will provide a means of
inputting non-ASCII text in header fields, but will translate these fields
(or appropriate portions of these fields) into encoded-words before
inserting them into the message header."

"will" is the strongest statement RFCs make, so to comply with this spec,
you cannot put non-ASCII text in a message header.  This is the RFC that the
JavaMail API references when it says it does not handle the encoding for
you.  Maybe there's a newer RFC that relaxes this restriction...

Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "Peter Donald" <donaldp@apache.org>
To: <james-dev@jakarta.apache.org>
Sent: Wednesday, August 01, 2001 11:39 PM
Subject: Re: We have some questions about James ?


> On Thu,  2 Aug 2001 13:28, Serge Knystautas wrote:
> > ----- Original Message -----
> > From: "Peter Donald" <donaldp@apache.org>
> >
> > > On Wed,  1 Aug 2001 19:59, Gunnar Rønning wrote:
> > > > * "Serge Knystautas" <sergek@lokitech.com> wrote:
> > > > | 1. I'd have to check, but I'm pretty sure that the headers of an
> > > > | email message are required to be 7-bit data.  I was just reading
> > > > | through the JavaMail API last night that said something about
this,
> > > > | and someone
> >
> > using
> >
> > > > | the API needs to properly encode data when setting headers.
> > > >
> > > > ESTMP may be 8 bit. See if my surname goes through...
> > >
> > > I am fairly sure the whole DATA message part can be 8bit *if* the
> >
> > appropriate
> >
> > > extention is used. However the rest of data stream must be 7-bit.
Talking
> > > from experience because I managed to crash a bunch of servers when
> > > sending high bytes in commands ;)
> >
> > I'm not so sure the entire DATA part can by 8-bit... maybe this is just
my
> > James server screwing with things, but this is what Mr. Rønning's From
> > header looked like...
> >
> > From: Gunnar =?iso-8859-1?q?R=F8nning?= <gunnar@polygnosis.com>
>
> It really depends on mail server and the features that it supports. If the
> mail server's greeting contains ESTMP and the necessary extention (I think
it
> is called 8BIT ?????) then clients will transmit 8-bit encoded messages.
If
> the receiver does not support 8-bit then it is up to sender to transform
it
> into 7-bit.
>
> A while ago one of my mail relays was only 7-bit clean and thus I always
had
> my mail converted to look like what you have. (It also added a header
saying
> something like converted to 7 bit on node foo at time X).
>
> Now my mail comes through only 8-bit servers so looks fine ;)
>
> Cheers,
>
> Pete



---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Mime
View raw message