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 "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2015/07/01 19:58:05 UTC

[jira] [Created] (JAMES-1584) JMX should allow some basic admin tasks on mailboxes

Tellier Benoit created JAMES-1584:
-------------------------------------

             Summary: JMX should allow some basic admin tasks on mailboxes
                 Key: JAMES-1584
                 URL: https://issues.apache.org/jira/browse/JAMES-1584
             Project: James Server
          Issue Type: New Feature
    Affects Versions: 3.0.0-beta5
            Reporter: Tellier Benoit
             Fix For: 3.0.0-beta5


We want the following tasks to be performed :
 - 1: Delete all mailboxes belonging to a user
 - 2: Create mailboxes
 - 3: List mailboxes belonging to a user

Why ?

We want to write a standalone MPT tool to validate our James deployement. ( See MPT- ).

MPT is given a docker name on a docker instance and should be allowed to initialise James instance for tests. We can not re-instanciate docker instance on each test ( as we want to validate behaviour of the given docker instance so that we can use it ). Working directly on IMAP seems complicated. And keeping track of all executed commands on MPT seems also complicated.

Finaly, these commands corresponds to use cases :
 - as an admin I want to delete mailboxes of user I just deleted
 - I can write a script to automatically create user and create some of their mailboxes.

*Acceptance criteria* :
 - Lauch a James server compiled with your changes. Using james CLI you should be able to :
      - list mailboxes belonging to a user
      - create mailboxes
      - delete all mailboxes belonging to a user

*How to implement it ?*

Stuff already exist for that (mailbox-adapter). It can be of course extended. And wired to be accessible threw JMX.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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