FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
This article describes how to add the source Mail ID for the Automation trigger and Alert Mail.
The requirement of adding the source Mail ID is some of the mail servers will not accept the mail if the source Mail ID is not properly set.
For example, when configuring the Office 365 for Automation trigger, source Mail ID must be set to allow the alert-mails from automation trigger.
Following are the CLI commands to set the source Mail ID.
# config system automation-action edit <name-of-automation-action> set email-from <source-email> end
# config alertemail settin
set username <source-email>
If the source 'mail-id' is not set, then FortiGate is sending the mail from firstname.lastname@example.org so this alert mail will be blocked by mail server so it is necessary to set the source. Mail ID as mentioned above.