Fortinet black logo

CLI Reference

create

create

This is a hidden command. Use this command to create various system-wide, domain-wide, and user-wide antispam settings, such as black/white lists and custom messages.

Syntax

execute create blacklist <domain> <blacklist_content>

execute create custom-message <domain> <message_content>

execute create dkim-signing-key

execute create ibe-system-key <content>

execute create resource-share

execute create system-blacklist <content>

execute create system-custom-message <contents>

execute create system-whitelist <content>

execute create system-favicon

execute create user-auto-forward <email_addr> <content>

execute create user-auto-reply <email_addr> <content>

execute create user-blacklist <email_addr> <content>

execute create user-calendar-tag <email_addr> <content>

execute create user-calendar-b64

execute create user-email-tag <email_addr> <content>

execute create user-filter-custom

execute create user-filter-master

execute create user-filter-sieve

execute create user-preference <user_name> <content>

execute create user-primaryaddr <user_name> <content>

execute create user-secondaryaddr <user_name> <content>

execute create user-signature <user_name> <content>

execute create user-whitelist <user_name> <content>

execute create whitelist <domain> <content>

Variable

Description

Default

blacklist <domain> <blacklist_content>

Creates domain-wide blacklists. For information about valid formats of the black and white lists, see the FortiMail Administration Guide.

custom-message <domain> <message_content>

Creates domain-wide custom messages.

dkim-signing-key

Creates DomainKeys Identified Mail (DKIM) signing key.

resource-share

Creates a resource share.

ibe-system-key <content>

Creates IBE system key.

system-blacklist <content>

Creates system-wide blacklists.

system-custom-message <contents>

Creates system-wide custom messages.

system-whitelist <content>

Creates system-wide white lists.

system-favicon

Creates a system use icon file.

user-auto-forward <email_addr> <content>

Creates an auto forward message for a user.

user-auto-reply <email_addr> <content>

Creates an auto reply message for a user.

user-blacklist <email_addr> <content>

Creates blacklists for a specific user.

user-calendar-tag <email_addr> <content>

Creates a user calendar tag.

user-calendar-b64

Creates a calendar base64 encoded.

user-email-tag <email_addr> <content>

Creates a user email tag.

user-filter-custom

Creates a user message filter custom file.

user-filter-master

Creates a user message filter master file.

user-filter-sieve

Creates a user message filter sieve file.

user-preference <user_name> <content>

Configures the user preference settings. For details, see the User chapter in the FortiMail Administration Guide.

user-primaryaddr <user_name> <content>

Configures the primary email account for the user.

user-secondaryaddr <user_name> <content>

Configures the secondary email account for the user.

user-signature <user_name> <content>

Configures the email signature for the user.

user-whitelist <user_name> <content>

Creates personal whitelists.

whitelist <domain> <content>

Creates domain-wide whitelists.

Related topics

backup

create

This is a hidden command. Use this command to create various system-wide, domain-wide, and user-wide antispam settings, such as black/white lists and custom messages.

Syntax

execute create blacklist <domain> <blacklist_content>

execute create custom-message <domain> <message_content>

execute create dkim-signing-key

execute create ibe-system-key <content>

execute create resource-share

execute create system-blacklist <content>

execute create system-custom-message <contents>

execute create system-whitelist <content>

execute create system-favicon

execute create user-auto-forward <email_addr> <content>

execute create user-auto-reply <email_addr> <content>

execute create user-blacklist <email_addr> <content>

execute create user-calendar-tag <email_addr> <content>

execute create user-calendar-b64

execute create user-email-tag <email_addr> <content>

execute create user-filter-custom

execute create user-filter-master

execute create user-filter-sieve

execute create user-preference <user_name> <content>

execute create user-primaryaddr <user_name> <content>

execute create user-secondaryaddr <user_name> <content>

execute create user-signature <user_name> <content>

execute create user-whitelist <user_name> <content>

execute create whitelist <domain> <content>

Variable

Description

Default

blacklist <domain> <blacklist_content>

Creates domain-wide blacklists. For information about valid formats of the black and white lists, see the FortiMail Administration Guide.

custom-message <domain> <message_content>

Creates domain-wide custom messages.

dkim-signing-key

Creates DomainKeys Identified Mail (DKIM) signing key.

resource-share

Creates a resource share.

ibe-system-key <content>

Creates IBE system key.

system-blacklist <content>

Creates system-wide blacklists.

system-custom-message <contents>

Creates system-wide custom messages.

system-whitelist <content>

Creates system-wide white lists.

system-favicon

Creates a system use icon file.

user-auto-forward <email_addr> <content>

Creates an auto forward message for a user.

user-auto-reply <email_addr> <content>

Creates an auto reply message for a user.

user-blacklist <email_addr> <content>

Creates blacklists for a specific user.

user-calendar-tag <email_addr> <content>

Creates a user calendar tag.

user-calendar-b64

Creates a calendar base64 encoded.

user-email-tag <email_addr> <content>

Creates a user email tag.

user-filter-custom

Creates a user message filter custom file.

user-filter-master

Creates a user message filter master file.

user-filter-sieve

Creates a user message filter sieve file.

user-preference <user_name> <content>

Configures the user preference settings. For details, see the User chapter in the FortiMail Administration Guide.

user-primaryaddr <user_name> <content>

Configures the primary email account for the user.

user-secondaryaddr <user_name> <content>

Configures the secondary email account for the user.

user-signature <user_name> <content>

Configures the email signature for the user.

user-whitelist <user_name> <content>

Creates personal whitelists.

whitelist <domain> <content>

Creates domain-wide whitelists.

Related topics

backup