[ http://issues.apache.org/jira/browse/JAMES-407?page=all ]

Anagha Mudigonda updated JAMES-407:
-----------------------------------

    Attachment: 30Aug2005JAMESFastFail.patch

Modifications

1. UnknownCommandHandler.java
a) Added
        //If there was message failure, don't consider it as an unknown command
        if (state.get(MESG_FAILED) != null) {
            return;
        }
b) Modified the message format to
500 5.5.1 Command <commandName> unrecognized.

2.  Since the Handlers cannot store state internally.  The SMTPSession exposes
Message scope and session scope hashmaps to store state information.
The Message Scope HashMap will be cleared when the message sent or aborted
The Session Scope HashMap will be cleared after the session ends

> James inprotocol handling framework
> -----------------------------------
>
>          Key: JAMES-407
>          URL: http://issues.apache.org/jira/browse/JAMES-407
>      Project: James
>         Type: Improvement
>   Components: SMTPServer
>     Versions: 3.0
>  Environment: JDK1.4.x
>     Reporter: Anagha Mudigonda
>      Fix For: 3.0
>  Attachments: 16Aug2005JAMESFastFail.patch, 16Aug2005JAMESFastFail.patch, 
> 30Aug2005JAMESFastFail.patch, Aug22JamesFastFail.patch
>
> James inprotocol handling framework

-- 
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