ESMTP Compliance fix
--------------------

         Key: JAMES-380
         URL: http://issues.apache.org/jira/browse/JAMES-380
     Project: James
        Type: Bug
  Components: SMTPServer  
    Versions: 2.2.1    
    Reporter: Stefano Bagnara
 Attachments: esmtp-20050601.tar.gz

Here is a cumulative patch for 

[#JAMES-377] - rfc2034 ENHANCEDSTATUSCODES
[#JAMES-375] - RFC 1854 - Command Pipelining support
[#JAMES-374] - EHLO reply when SIZE limit is enabled is wrong
[#JAMES-369] - Always announce AUTH capability to clients

It also fixes a bug in MAIL FROM and RCPT TO attributes tokenizer.
---------------------------
                 StringTokenizer optionTokenizer = new 
StringTokenizer(mailOptionString, " ");
                 while (optionTokenizer.hasMoreElements()) {
                     String mailOption = optionTokenizer.nextToken();
-                    int equalIndex = mailOptionString.indexOf('=');
+                    int equalIndex = mailOption.indexOf('=');
------------------------------
It clearly seems a bug.


I think I have no rights to associate this issue to the 4 "childs".

I'm creating this issue to have a place to append a single patch.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to