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

Create domain mappings via the CLI

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • master
    • None
    • CLI

    Description

      Nowadays, the Rewrite Table engine supports domain redirections. That is to say any@domain.com will be rewritten as any@otherDomain.com.

      However, such a feature is not exposed via the CLI.

      You will need to :

      • Enhance RecipientRewriteTableManagementMBean and RecipientRewriteTableManagement with a new API and implementation for adding/listing/removing a domain mapping in the RecipientRewriteTable interface
      • You will add the following commands in CmdType : AddDomainMapping, RemoveDomainMapping, ListDomainMappings.
      • Add the corresponding tests in CmdTypeTest
      • Add the code for handling your commands in ServerCmd using the probe object.
      • Add the corresponding tests in ServerCmdTest

      Don't hesitate to ask for help on the Gitter chat.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: