james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5165] New: - JAMES MAIL FROM COMMAND NOT COMPLIANT RFC822
Date Wed, 28 Nov 2001 15:28:27 GMT
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=5165>.
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=5165

JAMES MAIL FROM COMMAND NOT COMPLIANT RFC822

           Summary: JAMES MAIL FROM COMMAND NOT COMPLIANT RFC822
           Product: James
           Version: 1.2.1
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: James Core
        AssignedTo: james-dev@jakarta.apache.org
        ReportedBy: tony.nys@aditel.be


if the mail from command has a sender with a quoted string, and in this 
quoted string there are spaces, james reports error 501, while this is
valid by the RFC822

SmtpHandler.java.parseCommand() uses a stringtokenizer with " :" which causes
the problem.
It should be better replaced with String.indexOf()

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


Mime
View raw message