Configuring remediation for Exchange On-prem users using the CLI

Prev Next

Use the CLI commands to configure Exchange On-prem remediation.

Prerequisites

Before configuring the remediation feature for Microsoft Exchange, ensure the following requirements are met:

  • Full Mailbox Access: You must identify or create a dedicated service account within your Exchange environment. The service account must be granted FullAccess permissions to all user mailboxes within the organization that require remediation coverage.

  • Ensure EWS is enabled for the service account.

To enable remediation for Exchange On-prem users:
  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Enable the remediation.

    hostname (config) # email-analysis remediation enable
  3. Configure the server of Exchange (On-prem).

    hostname (config) # email-analysis remediation exchange config server <server IP>
  4. Configure the username and password of Exchange server.

    hostname (config) # email-analysis remediation exchange config username <username> password <password>
  5. Set the mode to Exchange or Cloud.

    hostname (config) # email-analysis remediation mode exchange
    hostname (config) # email-analysis remediation mode cloud
  6. Configure an automatic remediation policy for retroactively detected malicious email.

    hostname (config) # email-analysis remediation policy {pull | quarantine }
    • quarantine—Blocks retroactive malicious email.

    • pull—Deletes retroactive malicious email.

  7. Perform the submission and add this submission for manual remediation.

    hostname (config) # email-analysis remediation queue-id <queue-id> 
  8. Save your changes.

    hostname (config) # write memory
  9. Verify the configuration for Exchange remediation.

    hostname (config) # show email-analysis remediation