--- title: "Selecting email block notification by domain using the CLI" slug: "selecting-email-block-notification-by-domain-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:10Z published: 2026-08-24T19:53:10Z canonical: "docs.trellix.com/selecting-email-block-notification-by-domain-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. # Selecting email block notification by domain using the CLI You can configure email block notification by domain to manage multiple domains efficiently and help support multi-tenancy. You can configure block notification per domain under email-analysis domain configuration. Two CLI commands are available for configuring email block notification by domain. Block notification by domain is supported only in block mode and tap mode. - `email-analysis domain <domain> block-notice enable` - `no email-analysis domain <domain> block-notice enable` When enabled, recipients in the specified domains receive email notifications. Block notification for global domains must be enabled before individual domain notifications can function. For details about how to enable block notification for global domains, see. [Configuring the analysis mode using the Web UI](/data-and-email/docs/configuring-the-analysis-mode-using-the-web-ui). When global block notification is disabled, enabling block notice for a domain in the CLI generates a prompt to enable global block notification first. Individual notifications can be specified when global block notification is disabled, but will not function unless global block notification is enabled. ### 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 select email block notifications by domain:** 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Select (enable) email block notification for a domain: ``` hostname (config) # email-analysis domain block-notice enable ``` 3. Save your changes: ``` hostname (config) # write memory ``` 4. Verify the status of email block notification by domain: ``` hostname (config) # show email-analysis Email-Analysis Policy: . . . . Enable Notice (block mode): yes . . . . ``` The `Enable Notice (block mode):` line displays `yes` when global email block notification by domain is enabled. The `show email-analysis` CLI output also shows the enabled or disabled status for each domain: ``` . . . .  domain: domain-name_01.com  next hop mta: 172.xx.xxx.xx  MX Enable: false  TLS mode: none  Block Notice Enable: true  domain: domain-name_02.com  next hop mta: 172.xx.xxx.xx  MX Enable: false  TLS mode: none  Block Notice Enable: false . . . . ``` **To disable email block notification for a domain:** 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Disable email block notification for a domain: ``` hostname (config) # no email-analysis domain block-notice enable ``` 3. Save your changes: ``` hostname (config) # write memory ``` 4. Verify the status of email block notification by domain: ``` hostname (config) # show email-analysis ``` ``` Email-Analysis Policy: . . . . Enable Notice (block mode):   no . . . . ``` The `Enable Notice (block mode):` line displays `no` when global email block notification by domain is disabled. It is possible to enable block notification for individual domains even if global block notification is disabled. In this case, the `show email-analysis` CLI output shows the global disabled status, in addition to the enabled or disabled status for each domain: ``` . . . .  domain: domain-name_01.com  next hop mta: 172.xx.xxx.xx  MX Enable: false  TLS mode: none  Block Notice Enable: true (Global Block Notice is Disabled) . . . . ```