Fortinet black logo

CLI Reference

create

This is a hidden command. Use this command to create various system-wide, domain-wide, and user-wide antispam settings.

Syntax

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-custom-message <contents>

execute create system-favicon

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

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

execute create user-calendar <user_name>

execute create user-calendar-b64

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

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>

Variable

Description

Default

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-custom-message <contents>

Creates system-wide custom messages.

system-favicon

Creates a system use icon file.

user-auto-forward <email_addr> <content>

Creates an auto forward message for the user.

user-auto-reply <email_addr> <content>

Creates an auto reply message for the user.

user-calendar <user_name> Creates a calendar for the user.

user-calendar-b64

Creates a calendar base64 encoded.

user-calendar-tag <email_addr> <content>

Creates a user calendar tag.

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.

Related topics

backup

This is a hidden command. Use this command to create various system-wide, domain-wide, and user-wide antispam settings.

Syntax

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-custom-message <contents>

execute create system-favicon

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

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

execute create user-calendar <user_name>

execute create user-calendar-b64

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

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>

Variable

Description

Default

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-custom-message <contents>

Creates system-wide custom messages.

system-favicon

Creates a system use icon file.

user-auto-forward <email_addr> <content>

Creates an auto forward message for the user.

user-auto-reply <email_addr> <content>

Creates an auto reply message for the user.

user-calendar <user_name> Creates a calendar for the user.

user-calendar-b64

Creates a calendar base64 encoded.

user-calendar-tag <email_addr> <content>

Creates a user calendar tag.

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.

Related topics

backup