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 "Norman Maurer (JIRA)" <ji...@apache.org> on 2010/11/26 21:06:13 UTC

[jira] Created: (PROTOCOLS-14) Add HookReturnCode.DISCONNECT to allow to trigger disconnect from Hook

Add HookReturnCode.DISCONNECT to allow to trigger disconnect from Hook
----------------------------------------------------------------------

                 Key: PROTOCOLS-14
                 URL: https://issues.apache.org/jira/browse/PROTOCOLS-14
             Project: JAMES Protocols
          Issue Type: New Feature
            Reporter: Norman Maurer
            Assignee: Norman Maurer


We should add the HookReturnCode.DISCONNECT to allow to trigger a disconnect from a Hook. Even better we should allow todo something like that:

return new HookResult(HookReturnCode.DENY | HookReturnCode.DISCONNECT) 

This will first write a permant error to the client and then disconnect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (PROTOCOLS-14) Add HookReturnCode.DISCONNECT to allow to trigger disconnect from Hook

Posted by "Norman Maurer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PROTOCOLS-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12936095#action_12936095 ] 

Norman Maurer commented on PROTOCOLS-14:
----------------------------------------

done

> Add HookReturnCode.DISCONNECT to allow to trigger disconnect from Hook
> ----------------------------------------------------------------------
>
>                 Key: PROTOCOLS-14
>                 URL: https://issues.apache.org/jira/browse/PROTOCOLS-14
>             Project: JAMES Protocols
>          Issue Type: New Feature
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 1.2-M2
>
>
> We should add the HookReturnCode.DISCONNECT to allow to trigger a disconnect from a Hook. Even better we should allow todo something like that:
> return new HookResult(HookReturnCode.DENY | HookReturnCode.DISCONNECT) 
> This will first write a permant error to the client and then disconnect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (PROTOCOLS-14) Add HookReturnCode.DISCONNECT to allow to trigger disconnect from Hook

Posted by "Norman Maurer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PROTOCOLS-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved PROTOCOLS-14.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2-M2

> Add HookReturnCode.DISCONNECT to allow to trigger disconnect from Hook
> ----------------------------------------------------------------------
>
>                 Key: PROTOCOLS-14
>                 URL: https://issues.apache.org/jira/browse/PROTOCOLS-14
>             Project: JAMES Protocols
>          Issue Type: New Feature
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 1.2-M2
>
>
> We should add the HookReturnCode.DISCONNECT to allow to trigger a disconnect from a Hook. Even better we should allow todo something like that:
> return new HookResult(HookReturnCode.DENY | HookReturnCode.DISCONNECT) 
> This will first write a permant error to the client and then disconnect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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