Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1584

JMX should allow some basic admin tasks on mailboxes

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-beta5
    • 3.0.0-beta5
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: