Fortinet black logo

CLI Reference

domain

domain

Use these commands to configure a protected domain.

For more information on protected domains and when they are required, see the FortiMail Administration Guide.

Syntax

This command contains many sub-commands. Each sub-command, linked below, is documented in subsequent sections.

config domain

edit <domain_name>

config config cal resource...

config config customized-message...

config config domain-setting...

config file filter...

config config policy recipient...

config profile account-sync...

config profile antispam...

config profile antispam-action...

config profile antivirus...

config profile antivirus-action...

config profile authentication...

config profile content...

config profile content-action...

config profile cousin-domain...

config profile email-address-group ...

config profile impersonation...

config profile notification...

config profile resource...

config config user mail...

next

end

Variable

Description

Default

<domain_name>

Type the fully qualified domain name (FQDN) of the protected domain.

For example, to protect email addresses ending in “@example.com”, type example.com.

config cal resource

Use this sub-command to configure the calendar resource of a protected domain for calendar sharing.

Syntax

This sub-command is available from within the command domain.

config cal resource

edit <resource_name>

set description <string>

set display-name <string>

set management-users <user_email>

set type {room | equipment}

end

Variable

Description

Default

<resource-name> Enter a name for the calendar resource. This name forms the local name of the calendar resource for the current domain, for example <resource_name@<domain_name>.com.

description <string> Enter a description for the calendar resource entry.

display-name <string> Enter a display name.

management-users <user_email> Enter the management users for the calendar resource in the format <user_name>@<domain_name>.com.

type {room | equipment} Set the resource type to either room or equipment.

room

config customized-message

Use this sub-command to configure the variables and the default email template of quarantine summary of a protected domain.

Syntax

This sub-command is available from within the command domain.

config customized-message

edit report-quarantine-summary

config variable

edit <name>

set content

set display-name

config email-template

edit default

set from <string>

set html-body <string>

set subject <string>

set text-body <string>

end

Variable

Description

Default

<name>

Enter a variable name that you want to add or edit, such as %%SENDER%%.

content

Enter the content for the variable.

display-name

Enter the display name for the variable. For example, the display name for %%SENDER%% can be From.

from <string>

Enter the replacement message for the From field of the quarantine summary.