DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20370>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20370 CR or LF will improperly terminate SMTP command Summary: CR or LF will improperly terminate SMTP command Product: James Version: 2.1 Platform: All OS/Version: All Status: NEW Severity: Minor Priority: Other Component: SMTPServer AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] RFC 2821 section 2.3.7 tells that lines which contain SMTP commands should end with CRLF, and servers must not recognize any other character sequence as a line terminator. In James 2.1.2, james.smptserver.SMTPHandler uses the BufferedReader readLine() method to read envelope command lines from the input stream. According to the JavaDoc, this method terminates a line upon receiving any one of: a line feed ('\n'); a carriage return ('\r'); or a carriage return followed immediately by a linefeed. I have confirmed this with tests: James accepts either a line feed or carriage return alone as a line terminator for envelope command lines. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]