system : replacemsg mm4
 
replacemsg mm4
Use this command to change default replacement messages added to messages sent by FortiOS Carrier on the MM4 network when the antivirus engine blocks a file either because of a matching file pattern or because a virus is detected; or when spam filter blocks an email.
Syntax
config system replacemsg mm4 <message_type>
set charset <character_set>
set class <class>
set domain <address_domain>
set format <format>
set from <from_address>
set from-sender {enable | disable}
set header <header_type>
set image <string>
set message <message_text>
set priority <priority>
set rsp-status <rsp_status>
set smil-part <string>
set subject <subject_text>
end
Variable
Description
Default
<message_type>
MM4 replacement message types, one of:
mm4-block
mm4-block-notif
mm4-bword
mm4-bword-notif
mm4-sis-block
mm4-sis-block-notif
mm4-virus
mm4-virus-block
No default.
add-smil {enable | disable}
Enable to add SMIL content to the message. SMIL content can include images.
This field is available for the following message types:
mm4-block-notif
mm4-bword-notif
mm4-sis-block-notif
disable
charset <character_set>
Character encoding used for replacement messages: us‑ascii or utf-8.
utf-8
class <class>
The message can be classified as one of:
advertisement
automatic
informational
not-included
personal
automatic
domain <address_domain>
The from address domain.
null
format <format>
Replacement message format flag, one of:
html
none
text
wml
text
from <from_address>
Address the message is from.
null
from-sender {enable | disable}
Enable for the notification message to be sent from the recipient. This is to avoid billing problems.
disable
header <header_type>
Set the format of the message header: 8bit, http, or none.
none
image <string>
Enter the name of the image to include in the SMIL message part. Using ‘?’ will show the list of available image names.
This is only available when add-smil is enabled.
 
message <message_text>
Text of the replacement message.
Depends on message type.
priority <priority>
Priority of the message, one of:
high
low
normal
not included
normal
rsp-status <rsp_status>
Response status codes, one of:
err-content-not-accepted
err-msg-fmt-corrupt
err-net-prob
err-snd-addr-unresolv
err-srv-denied
err-unspecified
err-unsupp-msg
ok
err-content-not-accepted
smil-part <string>
Enter the SMIL part of the replacement message.
 
subject <subject_text>
Subject text string.
Depends on message type.