Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 2.3.0
    • Component/s: SMTPServer
    • Labels:
      None
    • Environment:
      JDK1.4.x

      Description

      James inprotocol handling framework

      1. 16Aug2005JAMESFastFail.patch
        181 kB
        Anagha Mudigonda
      2. 16Aug2005JAMESFastFail.patch
        77 kB
        Anagha Mudigonda
      3. 30Aug2005JAMESFastFail.patch
        5 kB
        Anagha Mudigonda
      4. Aug22JamesFastFail.patch
        50 kB
        Anagha Mudigonda

        Activity

        Hide
        anaghamudigonda Anagha Mudigonda added a comment -
        • Now SMTPhandler implements SMTPSession interface. Remove the inner class implementation
        • Removed unecessary interfaces from SMTPSession interface
        • Made changes to SMTPHandlerChain that doenot allow the server to start if there are no commandHandlers registered or if there are commandHandlers for mandatory commands : MAIL, RCPT and DATA.
        Show
        anaghamudigonda Anagha Mudigonda added a comment - Now SMTPhandler implements SMTPSession interface. Remove the inner class implementation Removed unecessary interfaces from SMTPSession interface Made changes to SMTPHandlerChain that doenot allow the server to start if there are no commandHandlers registered or if there are commandHandlers for mandatory commands : MAIL, RCPT and DATA.
        Hide
        anaghamudigonda Anagha Mudigonda added a comment -

        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

        Show
        anaghamudigonda Anagha Mudigonda added a comment - 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
        Hide
        danny@apache.org Danny Angus added a comment -

        Closing issue fixed in released version.

        Show
        danny@apache.org Danny Angus added a comment - Closing issue fixed in released version.

          People

          • Assignee:
            Unassigned
            Reporter:
            anaghamudigonda Anagha Mudigonda
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development