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 ji...@apache.org on 2004/06/07 02:23:55 UTC

[jira] Closed: (JAMES-14) JAMES MAIL FROM COMMAND NOT COMPLIANT RFC822

Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-14

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-14
    Summary: JAMES MAIL FROM COMMAND NOT COMPLIANT RFC822
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: James
 Components: 
             SMTPServer
   Versions:
             2.0a1

   Assignee: Danny Angus
   Reporter: Tony Nys

    Created: Wed, 28 Nov 2001 7:28 AM
    Updated: Sun, 6 Jun 2004 5:22 PM
Environment: Operating System: Windows NT/2K
Platform: All

Description:
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()


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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