Customizing GUI, custom messages, email templates, and Security Fabric
This section contains the following topics:
- Configuring custom messages
- Customizing email templates
- Customizing the GUI appearance
- Enabling Security Fabric
Configuring custom messages
Go to System > Customization > Custom Message to view and reword custom messages.
These custom message are used for login pages, IBE messages, and other system-relate message. The content, DLP, and antivirus replacement messages used in the action profiles are configured under Profile > Replacement Massage. For details, see Configuring replacement message profiles and variables.
All the disclaimers, custom messages, and IBE login page are customizable. When you create email template on the System > Customization > Custom Email Template tab, you can use many of the replacement messages.
Viewing the custom messages list
To view the custom message list, go to System > Customization > Custom Message.
The message list organizes replacement messages into a number of types (for example, System, Reject, etc.). Use the expand arrow beside each type to display the replacement messages for that category. Double-click each custom message to customize that message for your requirements.
You can reword existing messages or create new ones.
Modifying custom messages
You can modify the text and HTML code within a custom message to suit your requirements.
You can change the content of the custom message by editing the text and HTML codes and by working with custom message variables. For descriptions of the default custom message variables, see Default custom message variables.
All message groups can be edited to change text, or add text and variables.
- Go to System > Customization > Custom Message.
- To edit a message, double-click it or select it and click Edit.
- In the Content area, enter the custom message.
- There is a limit of 8191 characters for each custom message.
- If custom variables exist, you can add them to the text. To do so:
- Click Insert Variables. A pop-up window appears.
- Place your mouse cursor in the text message at the insertion point for the variable.
- Click the name of the variable to add. It appears at the insertion point.
- Click the Close (X) icon to close the window.
If no custom variables exist, the Insert Variables link does not appear. Some message types include predefined variables. You can create variables. See Creating new variables.
- Click OK, or click Reset To Default to revert the custom message to its default text.
Some messages include a Subject and From area. You can edit their content too and add variables.
Creating new variables
In addition to the predefined variables, you can create new ones to customize custom messages and email templates. Typically, these variables represent messages that you will use frequently. You can modify the variables that you create, but you cannot edit or delete the predefined variables.
- To create new variables to be used in custom messages, go to System > Customization > Custom Message. To create new variables to be used in email templates, go to System > Customization > Custom Email Template.
- Select a custom message or email template where you want to add a new variable, and click Edit Variable.
- Click New.
- Configure the following:
The Edit Variable page appears.
A dialog appears.
- In Name, enter the variable name to use in the custom message. Its format is:
%%<variable_name>%%
. For example, if you enter the wordvirus
, this variable will appear as%%virus%%
in the custom message if you select to insert it. This is usually a simple and short form for a variable. - In Display Name, enter words to describe the variable. For example, use
virus name
for the variablevirus
. The display name appears in the variable list when you select Insert Variables while customizing a message or creating a variable. - In Content, enter the variable’s content. Click Insert Variables to include any other existing variables, if needed. For example, you may enter
The file %%FILE%% has been detected containing virus %%VIRUS%%, and has been removed. File type is %%FILE_TYPE%%.
where%%FILE%%
is the file name,%%VIRUS%%
provides the virus name, and%%FILE_TYPE%%
is the file type of the infected file.
To add a color code, use HTML tags, such as <tr bgcolor="#3366ff">
. You can select a color code, such as "#3366ff"
in the HTML tag, from the color palette after selecting Insert Color Code.
Default custom message variables
Variable |
Description |
Location |
|
The name of the file that is infected with a virus. |
System > Customization > Custom Message > Reject > Virus message |
|
The name of the virus that has infected the file. |
|
|
The file type of the infected file. This variable is only applicable to files with extensions. |
|
|
The name of the file that was removed from the email. |
System > Customization > Custom Message > Reject > Suspicious message |
|
The ID that FortiMail assigns to the quarantined email. Note that this email ID is different from the standard message ID in the email header. |
System > Customization > Custom Email Template > Report > Quarantine summary |
|
The standard message ID in the header of the quarantined email. |
|
|
The original envelope sender address (MAIL FROM) of the quarantined email. |
|
|
The original envelope recipient address (MAIL TO) of the quarantined email. |
|
|
Under email actions in the quarantine summary, the Delete link that, if being clicked, sends an email request to delete the quarantined message. |
|
|
The email address of the sender of the quarantined email |
|
|
Under web actions in the quarantine summary, the Delete link that, if being clicked, sends a HTTP or HTTPS request to delete the quarantined message. |
|
|
The start time of the quarantine summary. |
|
|
The end time of the quarantine summary. |
System > Customization > Custom Email Template > Report > Quarantine summary |
|
Under email actions in the quarantine summary, the Click Here link that, if being clicked, sends an email to delete all quarantined messages. |
|
|
Under spam web actions in the quarantine summary, the Click Here link that, if being clicked, sends a HTTP or HTTPS request to delete all quarantined messages. |
|
|
The subject of the email that is sent to delete a quarantined message when you click Delete under email actions in the quarantine summary. |
|
|
The email address, such as |
|
|
The date and time when a message was quarantined. |
|
|
Under email actions in the quarantine summary, the Release link that, if being clicked, sends an email to have a quarantined message sent to you. |
|
|
The subject of a quarantined message. |
|
|
Under web actions in the quarantine summary, the Release link that, if being clicked, releases the message to your inbox. |
|
|
The number of quarantined messages in this summary. |
|
|
The email address, such as |
System > Customization > Custom Email Template > Report > Quarantine summary |
|
The subject of the email that is sent to delete all quarantined messages when you select Click Here under email actions in the quarantine summary. |
|
|
The email address, such as |
|
|
The Click Here link under Other in the quarantine summary that, if being clicked, opens your entire quarantine inbox for you to manage your preferences. |
|
|
The subject of the email that is sent to release a quarantined message when you click Release under email actions in the quarantine summary. |
|
|
Copyright information of the secure message. |
System > Customization > Custom Message > Secure message > Secure message footer |
|
The From, To, and Subject lines of the secure message. |
System > Customization > Custom Message > Secure message > Secure message header |
|
The disclaimer reply to address. |
System > Customization > Custom Message > Email Content Resources > Disclaimer insertion message
|
|
The name of the file that was removed from the email. |
|
|
The file type of the suspicious file. This variable is only applicable to files with extensions. |
|
%%MESSAGE_ID%%
|
The standard message ID in the header of the email. |
|
%%ORIG_ENVELOPE_FROM%%
|
The original envelope sender address (MAIL FROM) of the email. |
|
%%ORIG_FROM%%
|
The header From of the email. |
|
%%ORIG_FROM_DOMAIN%%
|
The original header From domain of the email. |
|
%%VIRUS%%
|
The name of the virus that has infected the file. |
|
|
The sender’s address of this notification email. |
System > Customization > Custom Email Template > Secure message > Account reset notification |
|
The last name of the notification receiver. |
|
|
The month when the link in the notification to reset the account will expire. |
|
|
The time when the link in the notification to reset the account will expire. |
|
|
The day when the link in the notification to reset the account will expire. |
System > Customization > Custom Email Template > Secure message > Account reset notification |
|
The link in the notification that you can click to complete the account reset. |
|
|
Signature of the notification. |
|
|
The year when the link in the notification to reset the account will expire. |
|
|
The sender’s address of this notification email. |
|
|
The last name of the notification recipient. |
|
|
The email address of the notification recipient. |
|
|
The year when the notification was sent. |
|
|
The day when the notification was sent. |
|
|
The month when the notification was sent. |
|
|
Signature of the notification. |
|
|
The day when the link in the notification to reset the password will expire. |
System > Customization > Custom Email Template > Secure message > Password reset notification |
|
The last name of the notification recipient. |
|
|
The month when the link in the notification to reset the password will expire. |
|
|
The time when the link in the notification to reset the password will expire. |
|
|
The Help link in the notification about secure email. |
|
|
The first name of the notification recipient. |
|
|
The link in the notification that you can click to complete the password reset. |
System > Customization > Custom Email Template > Secure message > Password reset notification |
|
Signature of the notification. |
|
|
The About link in the notification about secure email. |
|
|
The year when the link in the notification to reset the password will expire. |
|
|
The sender’s address of this notification email. |
|
|
The last name of the notification recipient. |
|
|
The email address of the notification recipient. |
|
|
The year when the notification was sent. |
|
|
The day when the notification was sent. |
|
|
The month when the notification was sent. |
|
|
Signature of the notification. |
|
|
The sender’s address of this notification email. |
System > Customization > Custom Email Template > Secure message > Secure message notification - Pull |
|
The subject of the notification. |
|
|
The Help link in the notification about secure email. |
|
|
The link in the notification that you can click to open the secure message. |
|
|
The About link in the notification about secure email. |
|
|
The sender’s address of this notification email. |
System > Customization > Custom Email Template > Secure message > Secure message notification - Push |
|
The About link in the notification about secure email. |
System > Customization > Custom Email Template > Secure message > Secure message notification - Push |
|
The subject of the notification. |
|
|
The Help link in the notification about secure email. |
|
|
The sender’s address of this notification email. |
System > Customization > Custom Email Template > Secure message > User registration notification |
|
The last name of the notification recipient. |
|
|
The email address of the notification recipient. |
|
|
The year when the notification was sent. |
|
|
The day when the notification was sent. |
|
|
The month when the notification was sent. |
|
|
Signature of the notification. |
|
|
The action (accept, tentative, or reject) taken by the event attendee. |
System > Customization > Custom Email Template > Notification > Calendar event notification |
|
The email address from where the notification is sent. |
|
|
The event is rejected. |
|
|
The frequency of the event. |
|
|
the email address of the event organizer. |
|
|
The type of the event. |
|
|
The ending time of the event. |
|
|
The name of the person invited to this event. |
|
|
The event is set to tentative by the attendee. |
|
|
The event is accepted by the attendee. |
|
|
The location where the event is to be held. |
System > Customization > Custom Email Template > Notification > Calendar event notification |
|
The nature of the event. For example, meeting or party. |
|
|
The starting time of the event. |
|
|
Host name of the FortiMail unit which sends out the notification. |
System > Customization > Custom Email Template > Notification |
|
Domain name of the Fortimail unit which sends out the notification. |
Customizing email templates
The FortiMail unit may send notification email for:
- quarantine reports (see Configuring email quarantines and quarantine reports)
- IBE (see FortiMail IBE configuration workflow)
- repackaging virus-infected email with new email body (see Configuring antivirus action profiles)
- notifying the recipeint for any FortiMail actions (see Configuring notification profiles)
You can customize the email templates for all of thse email/report types.
- Go to System > Customization > Custom Email Template.
- To edit a template, double-click it or select it and click Edit.
- Enter the replacement message and click OK, or click Reset To Default to revert the replacement message to its default text.
- To format replacement messages in HTML, use HTML tags, such as
<b>some bold text</b>
. - To add a variable:
There is a limit of 250 characters for the Subject field, 60 characters for the From field, and 4000 characters for HTML and Text messages each in the Content field.
- Select Insert Variables next to the area to insert a variable. A pop-up window appears.
- Place your mouse cursor in the text message at the insertion point for the variable.
- Click the name of the variable to add. It appears at the insertion point.
- To add another variable, click the message area first, then click the variable name.
- Click the Close (X) icon to close the window.
- Click Insert Color Code. A pop-up window of color swatchs appears.
- Place your mouse cursor in the text at the insertion point for the color code, or highlight an existing color code to change.
- Click a color in the color swatch. For example, to replace the color code in the HTML tag
<tr bgcolor="#3366ff">
, you can highlight"#3366ff"
,
To add a new color code, include it with HTML tags as applicable, such as <tr bgcolor="#3366ff">
.
Customizing the GUI appearance
The System > Customization > Appearance tab lets you customize the default appearance of the administrator and webmail GUI with your own product name, product logo, and corporate logo.
You can customize the webmail interface language. If your preferred language is not currently installed, you can add it. You can also adjust the terms in existing language files. This can be useful for localizing terms within a language. For example, you could adjust the English language file to use spellings and terms specific to the locale of the United Kingdom, Australia, or the USA if your email users are most familiar with terminologies popular in those areas.
To customize the GUI appearance
- Go to System > Customization > Appearance.
- Click the arrow to expand Administration Interface and Webmail interface.
- Configure the following to change appearance:
- Default/Built-in: uses the default login page.
- Single sign on only: Use SSO configured in Configuring single sign-on (SSO).
- Customize: Edit the page to create your own login page.
- Default/Built-in: Use the default login page.
- Single sign on only: Use SSO configured in Configuring single sign-on (SSO).
- Create: Click to add a new language to the list. See To add a custom language.
- Download: Select a language in the list, then click this button to download the language’s resource file for that language. You can then edit the resource files using an XML editor that supports UTF-8.
- Upload: Select a language in the list, then click this button to update the language’s resource file for this language from your management computer to the FortiMail unit. In addition to uploading new language resource files, you can also use this button to update existing languages.
- Delete: Select a language in the list, then click this button to remove the language. This option is available only for non-default languages.
- Click Apply to save changes or Reset to return to the default settings.
GUI item |
Description |
|
Admin Portal |
||
|
Product name |
Enter the name of the product. This name will precede Administrator Login in the title on the login page of the GUI. |
|
Product icon |
Click Change to upload an icon that will be used as the favicon of the FortiMail GUI. The default icon is the Fortinet company icon. |
|
Custom top logo |
Click Change to upload a graphic that will appear at the top of all pages in the GUI. The image’s dimensions must be 460 pixels wide by 36 pixels tall. For best results, use an image with a transparent background. Non-transparent backgrounds will not blend with the underlying theme graphic, resulting in a visible rectangle around your logo graphic. Note: Uploading a graphic overwrites the current graphic. The FortiMail unit does not retain previous or default graphics. If you want to revert to the current graphic, use your web browser to save a backup copy of the image to your management computer, enabling you to upload it again later. |
|
Login page |
Select one of the following options: |
|
Default language |
Select the default language for the display of the GUI and the login page. You can configure a separate language preference for each administrator account. For details, see Configuring administrator accounts. |
|
Default theme |
Select the default display theme (red, green, blue, and light blue) for the display of the GUI and the login page. You can configure a separate theme preference for each administrator account. For details, see Configuring administrator accounts. |
|
System description |
Optionally enter a description or comment. |
Webmail Portal |
||
|
Webmail login |
Enter a word or phrase that will appear on top of the webmail login page, such as Webmail Login. |
|
Login user name hint |
Enter a hint for the user name. This hint will appear when you hover your mouse cursor over the login name field. |
|
Login page |
Select either: If you have enabled single sign-on (SSO) and want to disable the username and password fields on the login page, see the FortiMail CLI Reference. |
|
Allow user to change theme |
If selected, the webmail users will be able to customize the theme by themselves. |
|
Show online help link |
If selected, the Help button will appear on the webmail interface. The default help contents are provided by Fortinet. If you want to use your own organization’s help contents, you can enable this option and enter the online help URL in the below field. |
|
Custom online help URL |
Enter the URL if you want to use your own online help file, instead of the default one that comes with FortiMail. |
|
Custom webmail top logo |
Click Change to upload an image that will appear at the top of all webmail pages. The image’s dimensions must be 314 pixels wide by 36 pixels tall. Note: Uploading an image overwrites the current graphic. The FortiMail unit does not retain previous or default graphics. If you want to revert to the current graphic, use your web browser to save a backup copy of the image to your management computer, enabling you to upload it again at a later time. |
|
Default language |
Select the language in which webmail pages will be displayed. By default, the FortiMail unit will use the same language as the administrative GUI. For GUI language settings, see Configuring system options. |
|
Default theme |
Select a theme for the webmail GUI. |
|
Webmail language customization |
Displays the list of languages installed on the FortiMail unit in English and in their own language. |
To add a custom language
Note: The following steps require 7-Zip to decompress and compress archive file formats.
- Go to System > Customization > Appearance.
- Expand Webmail Portal, and expand Webmail Language Customization.
- Underneath the list of language customizations, click Create.
- In Language name in English, enter the name for the new language using English and US-ASCII encoding, such as
Welsh
. - In Language name, enter the name for the language using its own characters and UTF-8 encoding.
- Click Create.
- Select the new language’s row.
- Click Download.
- Locate the downloaded file in Windows Explorer and extract the files using 7-Zip.
- Open the extracted TAR file in an XML editor or plain text editor that supports UTF-8 encoding (Notepad++ for example).
- For each
value
in the resource file, translate the word or phrase that is surrounded by double quotes ("
). It will appear in the location indicated by the key’s name. - Save the TAR file.
- Right-click the TAR file and click 7-Zip > Add to archive.
- Set Archive format to gzip and click OK.
- Return to the FortiMail GUI.
- Select the new language’s row.
- Click Upload and select the compressed GZ file containing the translated resource file, then click Open.
- Click Apply.
The new language appears at the bottom of the webmail languages list.
Your web browser downloads the file as a TGZ file.
For example:
<resource key="report_spam" value="Report Spam"/>
indicates by key="report_spam"
that the text is a label for the button that corrects the Bayesian scanner when it has not recognized an email that is spam. You could replace the contents of value
(that is, Report Spam
) with any text in your language that indicates the button’s function.
To verify your language, log in to FortiMail webmail and review the text that appears on each button, field, and menu item. If the characters appear garbled, verify that your web browser is interpreting the web page using the correct encoding.
Enabling Security Fabric
FortiMail can connect to an upstream FortiGate root and become an integrated cluster member of a Security Fabric.
Go to System > Customization > Security Fabric to enable FortiMail to become a Security Fabric member. The Security Fabric FortiGate root can then establish a connection to the FortiMail unit using the IP address and port number specified.
This feature can also be configured in the CLI. For more information, see the FortiMail CLI Reference.