--- title: "Deleting an MTA domain configuration using the CLI" slug: "deleting-an-mta-domain-configuration-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:53:02Z published: 2026-08-24T19:53:02Z canonical: "docs.trellix.com/deleting-an-mta-domain-configuration-using-the-cli" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Deleting an MTA domain configuration using the CLI If a domain is configured with an incorrect next-hop address, incoming email to be forwarded to the incorrect address is deferred. To fix the problem, update the domain specification by replacing the incorrect next-hop address. For details, see [Updating an MTA domain configuration using the CLI](/data-and-email/docs/updating-an-mta-domain-configuration-using-the-cli). > [!WARNING] > Caution > > Do not delete an existing MTA domain in order to fix an incorrect next-hop IP address. Doing so deletes the email that was deferred for the domain. This procedure describes how to use the Email Security - Server appliance CLI to delete an MTA domain and next-hop IP addresses. ### Prerequisites - An established connection between the Email Security - Server appliance and the Internet. - You are logged in to the Email Security - Server appliance CLI as an Admin or Operator. **To delete a domain and next-hop IP addresses:** 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Delete the specification of the domain and next-hop IP addresses. ``` hostname (config) # no email-analysis domain mydomain9.com ``` 3. Verify your changes. ``` hostname (config) # show email-analysis ``` 4. Save your changes. ``` hostname (config) # write memory ```