This article describes the issue of the notification mail not being sent from the SRX device to the mail sender, even though the notify-mail-sender is configured for virus detection or fallback-block.
The following configuration is an example of notify-mail-sender for virus detection:
root@srx# show security utm feature-profile anti-virus { type kaspersky-lab-engine; kaspersky-lab-engine { pattern-update { email-notify { admin-email "[email protected]"; custom-message "Pattern Updated"; custom-message-subject "Pattern update done"; } } profile custom-av-profile { notification-options { virus-detection { type message; notify-mail-sender; custom-message "Virus detected in your mail"; custom-message-subject "Virus Detection Notification"; } } } }
However, a notification mail is not sent from the SRX device to the sender with only the configuration.
The following notification features on AV need the configuration for the SMTP feature:
To complete the configuration, the following SMTP server configuration is required:
root@srx# show smtp primary-server { address 1.2.3.4; login "[email protected]" { password "$ABC123"; ## SECRET-DATA } } [edit] root@srx#
2020-02-26: minor non-technical edits.