firewall : mms-profile : config notification {alert-dupe-1 | alert-flood-1 | mm1 | mm3 | mm4 | mm7}
 
config notification {alert-dupe-1 | alert-flood-1 | mm1 | mm3 | mm4 | mm7}
Use this command to configure how the FortiGate unit sends MMS messages to MMS clients to inform them that messages have been sent from their device that violate the settings in this MMS profile. To enable sending notifications you need to enable notification types. You can enable all notification types or you can enable separate notifications for web content blocking, file blocking, end point blocking, flooding, duplicate messages, and virus scanning. You can also use the MMS notifications options to configure how the notification messages are sent.
The FortiGate unit sends notification messages immediately for the first event, then at a configurable interval if events continue to occur. If the interval does not coincide with the window of time during which notices may be sent, the FortiGate unit waits and sends the notice in the next available window. Subsequent notices contain a count of the number of events that have occurred since the previous notification.
There are separate notifications for each notification type, including virus events. Virus event notifications include the virus name. Up to three viruses are tracked for each user at a time. If a fourth virus is found, one of the existing tracked viruses is removed.
The notifications are MM1 m-send-req messages sent from the FortiGate unit directly to the MMSC for delivery to the client. The host name of the MMSC, the URL to which m-send-req messages are sent, and the port must be specified.
 
Variable
Description
Default
alert-int <int>
Enter the interval the FortiGate will use to send alert messages. The integer you enter will be interpreted as hours or minutes depending on how the alert-int-mode command is set.
1
alert-int-mode {minutes | hours}
Enter minutes or hours. This setting will determine whether the integer entered with the alert-int command is interpreted as minutes or hours.
hour
alert-src-msisdn <str>
Enter the address the alert messages will appear to be sent from.
 
alert-status {enable | disable}
Enable to have the FortiGate unit send alert messages.
enable
bword-int <noticeinterval_int>
Enter the banned word notification send interval.
24
bword-int-mode
{minutes | hours}
Select whether the value specified in the bword‑int command is minutes or hours.
hours
bword-status {enable | disable}
Select to send notices for banned word events.
disable
carrier-endpoint-bwl-int <interval_int>
Enter the amount of time between notifications for endpoint black/white list events. Also set endpoint-bwl-status to enable and select the time unit in endpoint‑bwl‑int‑mode.
24
carrier-endpoint-bwl-int-mode {hours | minutes}
Select the unit of time in minutes or hours for carrier‑endpoint-bwl-int.
hours
carrier-endpoint-bwl-status {enable | disable}
Select to send notices for endpoint black/white list events.
disable
days-allowed {monday tuesday wednesday thursday friday saturday sunday}
Notifications will be sent on the selected days of the week.
monday tuesday wednesday thursday friday saturday sunday
detect-server {enable | disable}
Select to automatically determine the server address.
enable
dupe-int <interval_int>
Enter the amount of time between notifications of excessive MMS duplicates. Also set dupe-status to enable and select the time unit in dupe-int-mode.
24
dupe-int-mode {hours | minutes}
Select the unit of time in minutes or hours for dupe-int. Available only for MM1 and MM4 notifications.
hours
dupe-status {enable | disable}
Select to send notices for excessive MMS message duplicate events. Available only for MM1 and MM4 notifications. Available only for MM1 and MM4 notifications.
disable
file-block-int <interval_int>
Enter the amount of time between notifications of file block events. Also set file-block-status to enable and select the time unit in file-block-int-mode.
24
file-block-int-mode {hours | minutes}
Select whether the value specified in the file‑block‑int command is minutes or hours.
hours
file-block-status {enable | disable}
Select to send notices for file block events.
disable
flood-int <interval_int>
Enter the amount of time between notifications of excessive MMS activity. Also set flood-status to enable and select the time unit in flood-int-mode. Available only for MM1 and MM4 notifications.
24
flood-int-mode {hours | minutes}
Select the unit of time in minutes or hours for flood-int. Available only for MM1 and MM4 notifications.
hours
flood-status {enable | disable}
Select to send notices for excessive MMS message activity events. Available only for MM1 and MM4 notifications.
disable
from-in-header {enable | disable}
Select to insert the “from” address in the HTTP header.
disable
mmsc-hostname {<fqdn_str> | <ipv4>}
Enter the FQDN or the IP address of the destination server.
No default.
mmsc-password <passwd_str>
Enter the password required for sending messages using this server. (Optional)
No default.
mmsc-port <port_int>
Enter the port number the server is using.
Varies by msg‑protocol.
mmsc-url <url_str>
Enter the URL address of the server.
No default.
mmsc-username <user_str>
Enter the user-name required for sending messages using this server. (Optional)
No default.
msg-protocol
{mm1 | mm3 | mm4 | mm7}
Select the protocol to use for sending notification messages.
Depends on protocol {mm1 | mm3 | mm4 | mm7}.
msg-type
{deliver-req | send-req}
Select the type of notification message directed to either a VASP or a MMSC.
deliver-req
protocol
The MMS interface that you are configuring. protocol can be mm1, mm3, mm4 or mm7 depending on the message type that you are configuring notifications for.
This variable can be viewed with the get command, but cannot be set.
 
rate-limit <limit_int>
Enter the number of notifications to send per second. If you enter zero (0), the notification rate is not limited.
0
tod-window-start <window_time>
Select the time of day to begin sending notifications. If you select a start and end time of zero (00:00), notifications are not limited by time of day.
00:00
tod-window-duration <window_time>
Select the duration of the period during which the FortiGate unit will send notification messages. If you select a start and duration time of zero (00:00), notifications are not limited by time of day.
00:00
user-domain <fqdn_str>
Enter the FQDN of the server to which the user’s address belongs.
No default.
vas-id <vas_str>
Enter the value added service (VAS) ID to be used when sending a notification message.
This option is available only when msg-type is set to send-req.
No default.
vasp-id <vasp_str>
Enter the value added service provider (VASP) ID to be used when sending a notification message.
This option is available only when msg-type is set to send-req.
No default.
virus-int <interval_int>
Enter the amount of time between notifications for antivirus events. Also set virus-status to enable and select the time unit in virus-int-mode.
24
virus-int-mode
{hours | minutes}
Select the unit of time in minutes or hours for virus-int.
hours
virus-status
{enable | disable}
Select to send notices for antivirus events.
disable
Example
This example shows how to enable sending MMS notifications for all MM3 notification types and set the interval for each one to 400 minutes:
config firewall mms-profile
edit example
config notification mm3
set bword-status enable
set bword-int-mode minutes
set bword-int 400
set file-block-status enable
set file-block-mode minutes
set file-block-int 400
set carrier-endpoint-bwl-status enable
set carrier-endpoint-bwl-int-mode minutes
set carrier-endpoint-bwl-int 400
set virus-status enable
set virus-int-mode minutes
set virus-int 400
end
end