You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Andrew S. Tomlinson" <an...@excelsis.ca> on 2010/12/23 00:17:02 UTC

RetrCmdHandler.onCommand broken

This is causing the first character of email body to be consumed.
	session.writeStream(new ExtraDotInputStream(in));

If I quick and dirty replace with
	session.writeStream( in );

It then works OK.

To test I simply send a plain text email with body ABCD, and what I receive
is BCD. 




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


Re: RetrCmdHandler.onCommand broken

Posted by Norman Maurer <no...@apache.org>.
Hi Andrew,

this was fixed :

https://issues.apache.org/jira/browse/JAMES-1152

Thx for reporting,
Norman


2010/12/23 Norman Maurer <no...@apache.org>:
> Hi Andrew,
>
> sounds like a bug in ExtraDotInputStream. I will try to write a unit
> test to reproduce it and fix it.
>
> BTW for bugreports its best to just use our bugtracker. This ensures
> the issue get not "lost". You can find the bugtracker here:
>
> https://issues.apache.org/jira/browse/JAMES
>
> Thx,
> Norman
>
>
> 2010/12/23 Andrew S. Tomlinson <an...@excelsis.ca>:
>> This is causing the first character of email body to be consumed.
>>        session.writeStream(new ExtraDotInputStream(in));
>>
>> If I quick and dirty replace with
>>        session.writeStream( in );
>>
>> It then works OK.
>>
>> To test I simply send a plain text email with body ABCD, and what I receive
>> is BCD.
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>>
>

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


Re: RetrCmdHandler.onCommand broken

Posted by Norman Maurer <no...@apache.org>.
Hi Andrew,

sounds like a bug in ExtraDotInputStream. I will try to write a unit
test to reproduce it and fix it.

BTW for bugreports its best to just use our bugtracker. This ensures
the issue get not "lost". You can find the bugtracker here:

https://issues.apache.org/jira/browse/JAMES

Thx,
Norman


2010/12/23 Andrew S. Tomlinson <an...@excelsis.ca>:
> This is causing the first character of email body to be consumed.
>        session.writeStream(new ExtraDotInputStream(in));
>
> If I quick and dirty replace with
>        session.writeStream( in );
>
> It then works OK.
>
> To test I simply send a plain text email with body ABCD, and what I receive
> is BCD.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

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