geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <>
Subject [jira] Commented: (GERONIMO-4135) Too many CRLF at the end of the message
Date Mon, 23 Jun 2008 15:12:45 GMT


Stefano Bagnara commented on GERONIMO-4135:

No time now to go deeper in this. I suspect this have something to do with this snippet from
   The mail data is terminated by a line containing only a period, that
   is, the character sequence "<CRLF>.<CRLF>" (see section 4.5.2).  This
   is the end of mail data indication.  Note that the first <CRLF> of
   this terminating sequence is also the <CRLF> that ends the final line
   of the data (message text) or, if there was no data, ends the DATA
   command itself.  An extra <CRLF> MUST NOT be added, as that would
   cause an empty line to be added to the message.  The only exception
   to this rule would arise if the message body were passed to the
   originating SMTP-sender with a final "line" that did not end in
   <CRLF>; in that case, the originating SMTP system MUST either reject
   the message as invalid or add <CRLF> in order to have the receiving
   SMTP server recognize the "end of data" condition.

> Too many CRLF at the end of the message
> ---------------------------------------
>                 Key: GERONIMO-4135
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.1.1
>            Reporter: Stefano Bagnara
>            Assignee: Rick McGuire
> We have a lot of tests trying to send a message to james and reading the result: most
of the tests fail because the result contains 2 trailing CRLF more than expected (we send
one crlf at the end of the message we receive 3 crlf).
> I don't exactly know where does it happen but this does not with sun implementation.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message