You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Danny Angus <da...@apache.org> on 2007/03/02 09:56:47 UTC

Re: weird exception: 'error in encoded stream'

This looks like a problem with the format of a specific message,
base64 encoding needs it to be padded out to a multiple of some number
or other, forget what.

People on this list might be able to help you if you could trap the
message, but of course it seems that James is failing before that.

Have you got anything in the logs which would tell you where the
message is from? You might find that either a) it is badly constructed
spam or b) you could contact them and ask them what they were trying
to send you.

d.

On 3/1/07, Maria Bustillos <bl...@sbcglobal.net> wrote:
> A single thread keeps getting killed with the following exception.
> James process itself is still halfway alive, but very slow, after this
> point.  Any ideas?  Thx in advance.
>
>
> > > exception! javax.mail.MessagingException: Exception spooling message:
> > > Exception caught while storing Messa
> > > ge Container: java.io.IOException: Error in encoded stream: needed 4
> > > valid base64 characters but only got
> > > 2 before EOF, the 10 most recent characters were: ".co.jp\r\n\r\n";
> > >   nested exception is:
> > >         javax.mail.MessagingException: Exception caught while storing
> > > Message Container: java.io.IOExcepti
> > > on: Error in encoded stream: needed 4 valid base64 characters but only
> > > got 2 before EOF, the 10 most recen
> > > t characters were: ".co.jp\r\n\r\n"
> > > exception! javax.mail.MessagingException: Exception caught while
> > > storing Message Container: java.io.IOExce
> > > ption: Error in encoded stream: needed 4 valid base64 characters but
> > > only got 2 before EOF, the 10 most re
> > > cent characters were: ".co.jp\r\n\r\n"
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

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