Replacement message groups
Replacement message groups allow users to customize replacement messages for individual policies and profiles.
There are two types of replacement message groups:
Type |
Usage |
Customizable categories |
---|---|---|
utm |
Used with UTM settings in firewall policies. |
|
auth |
Used with authentication pages in firewall policies. |
|
The messages added to a group do not need to be customized. The message body content, header type, and format will use the default values if not customized.
To make replacement message groups visible in the GUI:
config system settings set gui-replacement-message-groups enable end
In the following example, two replacement message groups are created. The UTM message group includes custom mail-related messages and is assigned to an email filter profile. The authentication message group has a custom authentication success message that is applied to a proxy-based firewall policy that has an assigned email filter profile.
To create replacement message groups in the GUI:
- Create the Security replacement message group:
- Go to System > Replacement Message Groups.
- Click Create New.
- For Name, enter newutm.
- In the Comments field, enter UTM message group.
- For Group Type, select Security.
- Click OK.
- Customize the replacement messages in the newutm group:
- Go to System > Replacement Message Groups.
- Edit the newutm group.
- Select the Partial Email Block Message.
- Edit the message and click Save.
- Select the ASE Block Message.
- Edit the message and click Save.
- Create the Authentication replacement message group:
- Go to System > Replacement Message Groups.
- Click Create New.
- For Name, enter newauth.
- In the Comments field, enter Authentication message group.
- For Group Type, select Authentication.
- Click OK.
- Apply the newutm replacement message group to an email filter profile in the CLI:
config emailfilter profile edit "newmsgs" set replacemsg-group "newutm" next end
- Apply the newauth replacement message group and the email filter profile to a firewall policy in the CLI:
config firewall policy edit 1 ... set replacemsg-override-group "newauth" set inspection-mode proxy set emailfilter-profile "newmsgs" ... next end
To create replacement message groups in the CLI:
- Create the replacement message groups:
config system replacemsg-group edit "newutm" set comment "UTM message group" set group-type utm config mail edit "partial" set buffer "Fragmented emails are blocked, sorry." next end config spam edit "smtp-spam-ase" set buffer "This message has been blocked because ASE reports it as spam. You\'re welcome." next end next edit "newauth" set comment 'Authentication message group' set group-type auth config auth edit "auth-success-msg" set buffer "Welcome to the firewall. Your authentication has been accepted, please reconnect." next end next end
- Apply the message group to the email filter:
config emailfilter profile edit "newmsgs" set replacemsg-group "newutm" next end
- Apply the email filter and message group to the policy:
config firewall policy edit 1 ... set replacemsg-override-group "newauth" set inspection-mode proxy set emailfilter-profile "newmsgs" ... next end