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 enableno 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.
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.
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Select (enable) email block notification for a domain:
hostname (config) # email-analysis domain <domain.com> block-notice enable
Save your changes:
hostname (config) # write memory
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 displaysyeswhen global email block notification by domain is enabled.The
show email-analysisCLI 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 . . . .
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Disable email block notification for a domain:
hostname (config) # no email-analysis domain <domain.com> block-notice enable
Save your changes:
hostname (config) # write memory
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 displaysnowhen 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-analysisCLI 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) . . . .