While trying to configure the notification-options for SRX on UTM virus detection, even if the console shows the options, the feature does not work.
Following configuration:
[edit security utm feature-profile anti-virus kaspersky-lab-engine profile name]
notification-options { virus-detection { type message; notify-mail-sender; custom-message "Example Warning"; }}
This feature only is used for Email notifications, not web browser.
Moreover, Referring to the following article:
https://www.juniper.net/documentation/us/en/software/junos/utm/topics/topic-map/security-utm-notifications.html
The Custom Message Virus-Detected Notifications are not supported from Junos OS Release 15.1X49-D10 and Junos OS Release 17.3R1 onwards.